Android Question problem "unsafe app locked"

Angelo Maradini

Member
Licensed User
Longtime User
We compiled our app at the end of December and were able to install it on any device.
Having to recompile today, the message "unsafe app blocked" comes out, highlighting that it was developed for an older version of android that does not contain the most recent privacy protections.
Even changing SDK does not solve the problem. what should we do?
this is our manifest:

AddManifestText(
<uses-sdk android:targetSdkVersion="34" />
<uses-sdk android:minSdkVersion="21" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="34"
/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"
/>
)
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,
<external-files-path name="name" path="shared" />
)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:largeHeap,"true")
SetActivityAttribute("Elaborazione_Fabbisogno", android:screenOrientation, "landscape")
SetActivityAttribute(main, android:windowSoftInputMode, adjustPan|stateHidden)
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
AddPermission(android.permission.READ_EXTERNAL_STORAGE)
 

josejad

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…