I implement
jitsi_meet: ^4.0.0
in flutter.Its working fine in android and Ios both.But when i run into Android Api level 33,Application crash.Here is the error:
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
But i cannot use any pending intent and any Broatcast.I also implement this library:
implementation 'androidx.work:work-runtime-ktx:2.7.0
the error was same in android Api Level 33.Other Android device and Ios device application working fine.
Related
If I declare in the "AndroidManifest.xml" the permissions for Android 12+, when scanning it does not find those that are Android 11 or lower. I have the same problem the other way around.
I tried declaring in the AndroidManifest.xml the user permissions to be compatible with Android 12 or higher and it does not find the ones that are Android 11 or lower. I also tried declaring for Android 11 and it does not find those that are Android 12 or higher.
enter image description here
Here I declared to allow the two variants depending on which sdk the device has.
I'm using the following library -> text
Capacitor 7.5 and Ionic 6
As per Google's policy, I updated my targetSdkVersion and compileSdkVersion to 31. But I noticed that the Flutter local notification package now throws error for incoming messages as below:
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
I went through all the Stack overflow answers related to this error and made following changes:
Added below Java and Kotlin dependencies in build.gradle file:build.gradle file
Added this receiver below activity tag:
Receiver tag
Added exported flag under activity tag:
Exported flag
Updated gradle version to latest in gradle-wrapper.properties:
Latest gradle version
I am not using any PendingIntent in my code, and simulating app on simulator with API 31 level. Could someone please help me in resolving this issue with message notifications?
this is the error throwen
[and this is my native code][2]
i would like to make possible to install and use my flutter application on a phone which has a android OS version 4.1, but when i run my code on a simulator the result is :
i cannot open the app no matter how many times i try it.
and my api and sdk versions are : minSdkVersion 16 targetSdkVersion 29
is my api version the problem? play store says about this the minimum OS compatible is 4.1 but it does not work
I'm using AppVersion.getVersionNumber() to get the version number of my Ionic app. But where does this number come from?
The problem is that when I run the app on a smartphone through devapp, I get a different version number depending on what OS I have…
iOS (on an iPhone 6): 1.0.2
Android (on a Samsung S10): 1.0.4
Searching around for "version" in my source code, I find this in config.xml (in the root):
<widget version="1.0.3" … >
I don't know if this is relevant, but it is the currently delivered version of the app.
I'm using Ionic 4.10.0
AppVersion cordova plugin reads the app details from the native code of the application.
So the version values that you see, are configured in the native IDE's.
Check these files in your respective platform folders..
ios/App/App.xcodeproj/project.pbxproj the key to look for in this MARKETING_VERSION
android/app/build.gradle the key to look for in this versionName