Showing results for 
Search instead for 
Did you mean: 
New Member

Component related bug in Android? Seems to work fine in Canvas interface.

Hello All,

I've been refactoring an app to use components for the header and footer. The footer is somewhat dynamic on that the icons will change depending on table input, which all seems to work fine. One feature is that the footer can have barcode scanning capability. So I use some logic on the buttons that if they are set to be a barcode scanner then when clicked it selects the off canvas Scan button and also sets a variable:



Set(varButton2Toggle, !varButton2Toggle)



Apologies the forum code bugged on adding images for some reason, the first attached image show the footer. I have output properties setup to take the barcode button value and also return a boolean from the set variables varButton#Toggle; depending on the button clicked 1-4 going left to right.

On the main screen in my app, the data entering the component is fine, no issues there. I have a toggle input

(tip picked up from this blog post ) with its default value set to the boolean coming out of the footer component for the appropriate button clicked. 

The camera icon for the barcode scanner in this case is button 3. If I run the app on my phone, when I click the barcode scanner it activates the camera interface and I scan a QR code. The component outputs should populate to output properties; one of the barcode value and a boolean. The boolean goes to true, the toggle default value changes accordingly and the OnCheck property runs. This holds the following code:



Set(BarcodeData, ContainerFooterMenu.ScannerOutput);



The screen navigates to my form and the BarcodeData variable is passed to the EditContainer screen. Theres some logic in the form that if the mode is New it will populate a cell with the barcode data. But it is blank ... I go back to the previous screen as can be seen in the second attached image.

The textbox I use for debugging shows false on the button3 boolean; due to the reset, but the BarcodeData variable is showing "Sample value" from the scanned barcode. If I click the toggle input again it navigates again to a New EditContainer form and now the form is correctly populated with the "Sample value" string. Running the app through the browser it works correctly first time; browser returns "Sample value" due to the fact it cant run the barcode scanner correctly.

I've tried not using the reset, on going to the form. I tried not setting a global variable and passing the variable a context of the link. I tried a timer to pause the code for navigating to the new form. In short I've tried everything I can think of or have came across on the web. Is this a bug in the Android Powerapps application? Or am I missing something obscure?

Any help would be much appreciated, thank you.

Community Support
Community Support

Re: Component related bug in Android? Seems to work fine in Canvas interface.



Looking through your issue here, I don't see anything that is obvious on why this issue is occurring for you. This might be some kind of issue with Android and how it processes on Android devices but I am not quite certain. You might be better off creating a ticket with the Microsoft Support team and having them take a look at this issue. I'll include a link below; on creating a ticket with them if you would like to go down that route.


If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so:








Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!


Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.


Super Users Coming in August

We are excited for the next Super User season.


Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,520)