Deep-linking intent does not work

EDIT: Ok first make sure that your package is reachable by adb: adb shell am start -n com.example.simon.test/.activities.MainActivity Then to accept multiple data tags you need different intent filters (that’s the way it worked for me unlike all the other examples I’ve seen on the net). E.g.: <intent-filter> … <data android:scheme=”http” android:host=”example.com”/> </intent-filter> <intent-filter> … … Read more

How to autoincrement versionCode in Android Gradle

I have decided for second option – to parse AndroidManifest.xml. Here is working snippet. task(‘increaseVersionCode’) << { def manifestFile = file(“AndroidManifest.xml”) def pattern = Pattern.compile(“versionCode=\”(\\d+)\””) def manifestText = manifestFile.getText() def matcher = pattern.matcher(manifestText) matcher.find() def versionCode = Integer.parseInt(matcher.group(1)) def manifestContent = matcher.replaceAll(“versionCode=\”” + ++versionCode + “\””) manifestFile.write(manifestContent) } tasks.whenTaskAdded { task -> if (task.name == … Read more

android – “Exported receiver does not require permission” on receivers meant to receive from system services

Why don’t I get the warning on all receivers ? Because the first two are clearly designed to be broadcast by Android. The last one is unknown, partly because you did not supply the string resource values, and possibly because they are your own unique action strings. What permissions do I need to set for … Read more

Setting launchMode=”singleTask” vs setting activity launchMode=”singleTop”

I think your definition of singleTop and singleTask is a little off. SingleTop could produce a duplicate instance. Lets use your example, League > Team > Position > Player. If there is a button in the player screen that will take you to the league screen, it will become League > Team > Position > … Read more

You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘an

According to google new policy If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported: true attribute for these app components. FOR FLUTTER AND REACT NATIVE PROJECTS : add this line to AndroidManifest.xml file of project : android:exported=”true” Now just … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)