A new APK export of my app is throwing up this error toast when trying to take a screenshot. I never disabled this ability, so why is this happening?
I am seeing the same thing. Its damn annoying. Create a bug in tracker and I will vote on it. I would expect a fix this side of Christmas 2030.
Iām getting something in the lines of āscreenshot not allowed due to āsecurity policiesāā or something.
I presumed that was something added by Google Play Store because after filling out declarations about data encryption, etc. Is this happening in iOS too?
I will tell you in a couple of days, I“m doing an iOS update soon.
For sure its something AG related - not every app is restricted in this way. AG have simply made a default decision for every app rather than ask the question on the build config settings.
Glad to hear we are not the only ones experiencing this new default setting. I canāt even see how we would turn it off when setting the app permissions in the build service. We use these Android APKs in production workflows for a client and screenshots are a necessity for parts of their workflows. Itās quite a severe issue for us. How do I create a bug in the tracker?
I have voted on it too.
2030? Youāre among the optimists here.
I can still do screenshots in iOS.
So its not a deliberate decision to not allow this, just a lack of planning and care.
Hi. Iām facing the same problem. I donāt know if it only applies to an app installed directly form the apk or if also applies to an app installed from play store. Can you clarify this?
Thanks
AppGyver don“t even realise they have done this. Its just an oversight from poor (or non existent?) QA processes.
In my case itās really important to have the capability of taking screenshots. Also I need a new version in order to comply Google api 33. Now Iām stuck!!!
Appgyver team, please fix that !!!
Scroll back through posts to find the last time something like this was actually fixed, to help set your expectations.
Since it doesn“t work and isn“t likely to in the near future, maybe add a button to capture the info you need from the screenshot? Its far from ideal, but at least that is within your control.
Thanks Phil for the advise. Itās really impossible for me to do that. There are dinamic pages, with images, etc. and cannot implement what you suggest.
Only hope appgyver team solve it.
Please vote on the issue: Native Android APK screenshot ability disabled in new runtime | Voters | AppGyver Community Edition
Yes please. I left some clues on the bug report. @timo.kapanen @Mevi someone, maybe itās just a change in runtime configurationā¦
Upon further investigation, the problem is only in Android and has to do with a parameter of the window when it is created.
getWindow().setFlags(
WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE
);
Android developer resource:
and here the discuss on React:
Hi Appgyver Team, no news for this?
Thanks