We have two Android applications: one implemented using native Java and another written using Ionic. The Ionic app launches my app which is the Android app using the lampaa plugin. I could receive the extras that the Ionic app provides using the following code:
String keyid = getIntent().getStringExtra("keyid");
Before I exit my app, I would like to send extras to the Ionic app. This is easily done from the Android side. How does the Ionic app know that my application has transferred control to it and how can it retrieve the extras that I have sent?
I think in your case to get extras from your native app you need to use other plugin like cordova-plugin-intent.
For example :
For more help check to here.
Hopes this will help you!!