Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter app craches in android 12

I have resolved the issue. Here is what I did:

1. add android:exported="true" in my AndroidManifest.xml to all activities, services, or broadcast receivers that use intent filters
2. add implementation 'androidx.work:work-runtime-ktx:2.7.0' in the dependencies section of my app level build.gradle (android/app/build.gradle)
After that my app was working regularly on Android 12 and these changes did not affect the lower Android versions
Comment

PREVIOUS NEXT
Code Example
Dart :: flutter sliver app bar remove top padding 
Dart :: flutter fix problem keyboard resize screen 
Dart :: how to perform a text search over json data in flutter 
Dart :: a function body must be provided. try adding a function body. flutter 
Dart :: dartlang console plugin 
Dart :: print items from list dart 
Dart :: convert string date in Format yyyyMMddHHmmss to DateTime dart 
Dart :: how to craete function in flutter 
Dart :: rouned floating action button flutter 
Swift :: delay code execution swift 5 
Swift :: swift ui debug print 
Swift :: swift hide navigation bar 
Swift :: get device height and width wift 
Swift :: swift for loop index 
Swift :: how to dismiss keyboard swiftui 
Swift :: get item filter count swift 
Swift :: use of map instad of for loop 
Swift :: ios rounded button 
Swift :: swipe to delete xcode 
Swift :: swiftui foreach 
Swift :: IOS create UIAlertViewController programmatically 
Swift :: swift go to root view controller 
Swift :: How to find index of list item in Swift? 
Swift :: swift array contains 
Swift :: init with bindings swiftui 
Swift :: add months to date swift 
Swift :: swift sort list true before false 
Swift :: swift while loop 
Swift :: Swift Swift Function Return Values 
Swift :: triple equals swift 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =