Questions tagged [oppo]

for questions related to application development issues affecting just Oppo Mobile devices.

62 questions
10
votes
1 answer

Denial permission OPPO_COMPONENT_SAFE

I have service in my app which needs to be running in background in device OPPO. I have read somewhere that we need to enable auto start in settings for app to keep service running but I have a problem with permission. java.lang.SecurityException:…
Hồ Minh Tùng
  • 101
  • 1
  • 5
9
votes
0 answers

Android Studio terminates app during debug if stopped at a breakpoint for more than several seconds

I have an Oppo A53s running Android 11. When I set a breakpoint in the initial activity (login page), once the breakpoint is hit the app will terminate after five seconds of inactivity. This problem doesn't occur on the emulated devices or on my…
FractalBob
  • 3,225
  • 4
  • 29
  • 40
7
votes
0 answers

Permission denial -> requires oppo.permission.OPPO_COMPONENT_SAFE but it's already on the AndroidManifest.xml

I can't open intents in oppo devices. I've put required permissions on manifest but never works... always show the same error: java.lang.SecurityException: Permission Denial:…
7
votes
4 answers

Background Service Stop when removing app from recent

Background service is stop, when removing my app from recent in oppo & vivo mobiles, & Broadcast reciever also not working in that case.
7
votes
2 answers

How to ask Permission in OPPO again if user deny permision in Oppo lollipop version?

I am facing problem in Oppo mobile - Lollipop version. I need write contact permission in my app. but in oppo lollipop it ask oppo's own security permission. If I deny that permission than application crashed on open that screen. So I want to know…
Maulik Patel
  • 717
  • 1
  • 10
  • 22
5
votes
2 answers

Application background service stopped when swiped up in China Phone

I have been searching for answers regarding this problem with China phone (Oppo, Huawei, XiaoMi, Vivo, etc.) when app is swiped up (close), the background services stopped running. Most of the solutions were: Include START_STICKY and use…
user8824475
4
votes
0 answers

setAlarmClock() not working in dozo mode for few devices like OPPO phones

Inside my application I need to set alarms and when they fire I'm trying to trigger them in my Receiver. In order to deal with Dozo mode from marshmallow 6.0, if the device version is greater or equal to 6.0 I'm using alarmManger.setAlarmClock()…
3
votes
0 answers

Play Integrity alternative for China region

Google provides play integrity API for app integrity protection in android applications. But, since Google services are not available in China region, then what are the alternative APIs for integrity protection for Android apps in China (Huawei,…
3
votes
1 answer

onTaskRemoved() not getting called in Oppo devices

OnTaskRemoved () not getting called in Oppo devices, When app removed from recent list of apps and also the service not running when the app in the background and the screen get locked.
3
votes
1 answer

RunTime Localization (Multi-language) not working on some devices ex. Oppo f9 and Huawei y9

I implemented the following Localization logic in order to be able to change the language of my app dynamically from English to Arabic and vice-versa. It is working on all emulator versions from 5.1 up till 9.0, and on all of my 7 physical devices.…
Mena
  • 3,019
  • 1
  • 25
  • 54
3
votes
1 answer

Android - Getting InflateException in oppo devices only

I am getting a strange InflateException in my crashlytics. This happens only in Oppo devices with Android version 5.1. From the stack trace, its clear that the issue is with a TextView. The stack trace is Fatal Exception:…
Ruthwik Warrier
  • 187
  • 2
  • 14
3
votes
3 answers

Oppo - Failed to install *.apk: Failure [-99]

When I try to install an apk through ADB In an Oppo R11 (version : R11_11A, Android 7)it fails: adb install MyApp.apk Failed to install MyApp.apk: Failure [-99] A login screen shows up. Is this the same as the Xiaomi MIUI 8 problem? not allowing…
Gregory
  • 31
  • 1
  • 6
3
votes
1 answer

How to solve "For your messages security, System message app has been set as the default message app” issue on Oppo devices?

I implemented an SMS app. Now I'm having trouble with Oppo devices because whenever a message is received, the system changes the default app to the built-in app and shows this message: For your messages security, System message app has been set as…
Antonio
  • 11,413
  • 6
  • 34
  • 48
2
votes
3 answers

Android 11 Runtime Permissions

Before a few days, the code is working fine not having issues with permissions. I am not able to grant permission at run-time also having issues while granting permissions from the setting. (App permission detail page). var permissions = if…
Ashvin solanki
  • 4,802
  • 3
  • 25
  • 65
2
votes
0 answers

After clicking on TextInputLayout, the app crashes in Oppo F1S running 5.1.1

I am not able to figure out the cause, I am finding its very difficult to counter the issue. Its working fine in other devices and even in oppoF7 which is running 8.1.0 This is my XML
adam
  • 111
  • 1
  • 2
1
2 3 4 5