Android Question Can't upload to playstore with sdk 31

ganezha

Member
I tried uploading to playstore with targetSdkVersion=31. But it was rejected by playstore as follows
"You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported' property set."

Can anyone help ??

I've asked Johan Schoeman for help, but still can't upload it on the playstore. Thank you so much for your help

manifest editor:
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="31"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
AddManifestText(<uses-feature android:name="android.hardware.telephony" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.flash" android:required="false" />)   
AddPermission("android.permission.WAKE_LOCK")
AddPermission("android.permission.DEVICE_POWER")
'AddPermission("android.permission.READ_PHONE_STATE")
AddPermission("android.permission.VIBRATE")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
AddApplicationText(
  <provider
  android:name="android.support.v4.content.FileProvider"
  android:authorities="$PACKAGE$.provider"
  android:exported="false"
  android:grantUriPermissions="true">
  <meta-data
  android:name="android.support.FILE_PROVIDER_PATHS"
  android:resource="@xml/provider_paths"/>
  </provider>
  )
  CreateResource(xml, provider_paths,
   <files-path name="name" path="shared" />
)
 

Attachments

  • b4aZxingBarcodeScanner.rar
    14.3 KB · Views: 151

ganezha

Member
Dear Erel,
Thank you for your reply. I'm still using B4A version 11.00

Here I attach the AndroidManifest.xml file. Thanks in advance for your help :) ?
 

Attachments

  • AndroidManifest.xml
    2.1 KB · Views: 176
Upvote 0
Top