Issue with Xamarin navigation page and intent

L Luigi Borile 3 years 7 months ago
5 0 0

Hi,
our Xamarin Forms application, in Android project, decodes barcode through DataWedge intents in MainActivity.

We've found an issue when Zebra MC330M scans a barcode and the application is showing a page within a navigation page:
what happens is that the page is deactivated and "disappear" event is fired, the intent is received and managed and finally the view is re-activated and "appear" event is fired.

The page's subscriptions are disposed on disappear and re-created when the page appears, so the barcode is not received by the page.

This problem does not exist if the showed page is not in a navigation page.

Thanks for answers,
greetings.

CONTACT
Can’t find what you’re looking for?