Questions tagged [android-api-31]

45 questions
0
votes
1 answer

Cant install app from PlayStore for targetSDK 33

recently I released an Update for My App with targetsdk 33. Long Story short, its online right now, but you cant install it. You can basicly download the App but after that it says: somwthing whent wrong with the Instalation. build.gradle …
0
votes
0 answers

How to incorporate Api into Android Studio

I am using Android Studio with Kotlin language. I have created my front end. I have the DB linked in this app but my API is done in a different App. I am battling to figure out how to put my API into my App and have them communicate. How would I…
DevNoob
  • 17
  • 6
0
votes
2 answers

Push notifications not working in android 12

I have a notification problem. Since I upgraded the android api 30 to api 31, the firebase "push" notifications with ionic capacitor stopped working for android 12, they only work for android 11 api 30 or below It works correctly with the target SDK…
0
votes
1 answer

How to check which fragment is running at the moment. To make a condition out of this

I navigate to other fragments using navigation. And I want to add a condition that if, for example, (profile fragment) is running, then visibility = GONE for the header. Experts help to solve the problementer image description here enter image…
0
votes
1 answer

Android API 31 App Icon on Splash Screen too small

I have configured the API 31 (for Android 12) splash screen, using the Android Studio built-in image asset creator. I have the app icon and branding image showing when the app comes up. However, the app icon on the splash screen is very small. Its…
Mor Sagmon
  • 905
  • 1
  • 16
  • 35
0
votes
2 answers

$http.get request does not work with API level 31

I ask for your help for a problem that I encounter with IONIC 1. When I change the API level from 30 to 31 in the config.xml file: this code is not working $http.get($scope.url) .then(function (success) { ... }, function (error) { $scope.errTXT =…
0
votes
1 answer

NDK fopen() in the common storage of Android API 31

The common storage of Android API 31 is not accessible without the picker and that changes the environment for many old apps updating. A basic problem is that the NDK (25.1.8937393) is not integrated with the Java picker and will hardly be so in the…
Jan Bergström
  • 736
  • 6
  • 15
0
votes
0 answers

Firebase phone authentication not working in Android api level 31

I am using Firebase phone authentication in my android app. Everything was working fine when my app's targetSdkVersion was 29. Then, I upgraded that to 31 because it is mandatory in google play console to publish the app, after that app started to…
0
votes
0 answers

Android unit test are failing with initializationError if RunWith RobolectricTestRunner

My Android unit test is failing with initializationError if RunWith RobolectricTestRunner. import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.robolectric.RobolectricTestRunner; import static…
0
votes
2 answers

How to get enrollment-specific identifier of an android device?

How to get the enrollment-specific identifier of a device, which is guaranteed to be the same value for the same device, enrolled into the same organization by the same managing app. How to use the getEnrollmentSpecificId () method (added in API…
Sweta Jain
  • 3,248
  • 6
  • 30
  • 50
0
votes
1 answer

FakeAppUpdateManager - No longer working on API 31+, does not specify mutability flag when creating PendingIntent, when fetching appUpdateInfo

Using PlayCoreKtx version 1.8.1, I have an instrumented test that tests the inAppUpdate functionality of Play Core. I have a function in my test that looks like this private fun processAvailableUpdate(appUpdateType: AppUpdateType) =…
Sean Blahovici
  • 5,350
  • 4
  • 28
  • 38
0
votes
1 answer

My widget Thumbnail is blank in Android API 31 widgets list

My app has a simple widget (to show a large image to launch the app) It works fine under Android 28 but it is different with API31 : the thumbnail to drag is present in widgets list, but shown (with emulator) by a blank space, as shown in picture…
PiPaddy
  • 19
  • 6
0
votes
2 answers

RxJava or Retrofit PendingIntent error with Android 12 (S)

I'm trying to change targeting version to Android 12 (S). But I have an error java.lang.IllegalArgumentException: : Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a…
Vladimir Fisher
  • 3,090
  • 2
  • 17
  • 23
0
votes
1 answer

Unable to attach files to Gmail from cache directory Android 12

I almost found many similar links - and none helped Gmail is not allowing me to get file from /storage/emulated/0/Android/data/myapppackage/cache/..pdf tried both manually using Gmail and programmatically Able to attach if the same file is…
Gopi.cs
  • 985
  • 1
  • 16
  • 41
-1
votes
1 answer

How to connect programmatically to wifi without netaccess in Android 31, meanwhile in device has mobile connection also

Sup guys, I'm working with app installed on harvester machines, each working in fields. It needs to connect on one of fragments to wifi without loosing connection to mobile. This wifi without access to internet - only for getting images from camera.…
ArchkWay
  • 119
  • 1
  • 6
1 2
3