skip to Main Content

Firebase – Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE. App crashes due to this

Crash log - --------- beginning of crash 2023-03-03 15:33:10.259 11639-12705/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1 Process: PID: 11639 java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$4.done(AsyncTask.java:415) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) at java.util.concurrent.FutureTask.setException(FutureTask.java:250) at java.util.concurrent.FutureTask.run(FutureTask.java:269) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012) Caused by:…

VIEW QUESTION

Flutter Shared Preferences cannot use async/await, so I must use a then

void _authKey() { Hmac hmacSha = new Hmac(sha256, utf8.encode("604ec80ffa552786f409590994dc89cfef040b72")); String hashValue = ""; List<String> sortedKeys = _datas.keys.toList()..sort(); sortedKeys.forEach((f) => hashValue += _datas[f]! + "+"); print("waw"); SharedPreferences.getInstance().then((prefs) => () { print("wow"); String? token = prefs.getString('apitoken'); print("the auth key is " +…

VIEW QUESTION

React Native + Metro: Build Android / iOS with custom scripts

Premises To allow for multi environment builds, the following Android flavors were set: productFlavors { development { resValue "string", "app_name", "AppName Dev" applicationId "com.org.nativeapp.development" } staging { resValue "string", "app_name", "AppName Stag" applicationId "com.org.nativeapp.staging" } production { resValue "string", "app_name",…

VIEW QUESTION
Back To Top
Search