'publishing to Application play store from Delphi community edition 10.4
I am a retired disabled programmer who is battling to publish a simple but fun game to the application store. I am using the Delphi community edition version 10.4 and if I compile to release it works perfectly on all devices that I have tested but if I follow all the instructions to create an aab file to upload to the application store I get the message that the application store requires API 30 whereas community edition 10.4 provides a API 29. Forcing the target SDK version to 30 allows it to be uploaded to the application store but then it does not work when I download it from the application store. Can anyone help me please.Thanks
Solution 1:[1]
I'm also using 10.4 and just loaded app G.P.Store without any problem. Firstly manually edit AndroidManifest.template.xml:
<uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="30" />
android:requestLegacyExternalStorage="false">
Then you have to use Android storage access framework and cancel storage permissions:
Project -> Uses Permissions -> WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE option must be turned OFF even if you need to access external storage files folders Download etc.
If your files are in internal storage only, you dont need any storage permissions already.
More details and sample project available in Github. Search google: github delphi android saf
wishing success
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | emozgun |