Hi all - I need help with a really urgent issue.
I'm running a beta test and hence loaded the apk to a public url (amazon S3). Until this point the url was not public domain.
I installed the app on multiple devices and after a day or two, I'm getting the popup warning to uninstall the app.
I installed on my device yesterday, it worked fine. Then today I tried to install on one more device then this issue came. Then I un-installed on my device. And tried to install, again the popup came. So I think it has to with verify apps somehow. But I am not able to figure it out.
And this behavior is not the same on all the phones/devices. On virustotal, i'm getting 1/57 detection ratio where drweb is giving this message - Android.Gmuse.2.origin. but this error from virustotal comes for my previous apps I've created also - but not this uninstall warning from Android and my apps are running fine on many other devices.
If it helps, i've also listed the permissions my app is using
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOC ATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCAT ION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_ST ATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE " />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.CHANGE_CONFIGURAT ION" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_ST ATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE " />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_U SERS_FULL" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_P ROCESSES" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETT INGS" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FIL ESYSTEMS" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_ CALLS" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STO RAGE" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMP LETED" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RESTART_PACKAGES" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.STATUS_BAR" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WIND OW" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_ST ORAGE" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETT INGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="com.android.browser.permission.READ_ HISTORY_BOOKMARKS" />
<uses-permission android:name="com.android.launcher.permission.INST ALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.READ _SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.UNIN STALL_SHORTCUT" />
<uses-permission android:name="com.google.android.gms.permission.AC TIVITY_RECOGNITION" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<!-- Share App -->
<uses-permission android:name="com.apps.corecomponents.view.TAB_INF O" />
<permission
android:name="com.apps.corecomponents.permission.C 2D_MESSAGE"
androidrotectionLevel="signature" />
<permission android:name="com.apps.corecomponents.view.TAB_INF O" />
<uses-permission android:name="com.apps.corecomponents.permission.C 2D_MESSAGE" />
<!-- This app has permission to register and receive data message. -->
<uses-permission android:name="com.google.android.c2dm.permission.R ECEIVE" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
Please let me know what prompts this error and how do we fix it.
Thanks a lot
Related
Hi,
I want to use the C2DM, but I always get follwoing Error:
Code:
10-05 02:10:40.394: WARN/ActivityManager(11985): Permission Denial: receiving Intent { act=com.google.android.c2dm.intent.REGISTRATION cat=[mobile.app] (has extras) } to mobile.app requires mobile.app.permission.C2D_MESSAGE due to sender com.google.android.gsf (uid 10046)
Here is my Manifest.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mobile.app"
android:versionName="0.1"
android:versionCode="1">
<uses-sdk android:minSdkVersion="10" />
<!-- Only this application can receive the messages and registration result -->
<permission android:name="com.google.android.c2dm.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="mobile.app.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- Send the registration id to the server -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".Main">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></category>
</intent-filter>
</activity>
<!-- Only C2DM servers can send messages for the app. If permission is not set - any other app can generate it -->
<receiver android:name=".C2DMReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<!-- Receive the actual message -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="mobile.app" />
</intent-filter>
<!-- Receive the registration id -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="mobile.app" />
</intent-filter>
</receiver>
</application>
</manifest>
Anyone an idea?
thanks!
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Device model Meizu MX5
OS version (android version 5.0.1)
I have that device, and i get error device is not supporting when i download app from store and try to launch the application.
https://play.google.com/store/apps/details?id=com.netvariant.banknizwa
Possible to know some reasons? and why?
The manifest
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />
<uses-feature
android:name="android.hardware.location.network"
android:required="false" />
<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<uses-feature
android:name="android.hardware.location"
android:required="false" />
<uses-feature
android:name="android.hardware.screen.portrait"
android:required="false" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="22" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
MX5 bug
im also having the same problem for Snapchat app
I am trying to make a ota updater application, but I think I dont have permission to the command file needed by the recovery. The steps I followed are as below.
My permissions
HTML:
<uses-sdk android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<uses-permission
android:name="android.permission.REBOOT"
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.RECOVERY" />
<uses-permission
android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
tools:ignore="ProtectedPermissions" />
Process:
1. Build apk using eclipse
2. signed it with the platform keys of my custom rom
3. install apk into /system/priv-app
About Rom: CM12 for falcon
About Testing Device: falcon_umts
Can someone please tell where is am going or wrong or what I am missing.
abhinav054 said:
I am trying to make a ota updater application, but I think I dont have permission to the command file needed by the recovery. The steps I followed are as below.
My permissions
HTML:
<uses-sdk android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<uses-permission
android:name="android.permission.REBOOT"
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.RECOVERY" />
<uses-permission
android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
tools:ignore="ProtectedPermissions" />
Process:
1. Build apk using eclipse
2. signed it with the platform keys of my custom rom
3. install apk into /system/priv-app
About Rom: CM12 for falcon
About Testing Device: falcon_umts
Can someone please tell where is am going or wrong or what I am missing.
Click to expand...
Click to collapse
Solved it by changing manifest to
HTML:
<manifest
package="com.expressOTA.update"
android:sharedUserId="android.uid.system"
android:versionCode="1"
android:versionName="1.0" >
I have an angular cordova application which has got the html video tag that plays on IOS but not on Android. Play button does not show on android.
html tag is as below:
<video width="320" height="240" controls="controls">
<source src="samplevideolink" type="video/mp4" />
</video>
config.xml of Cordova is as below:
<content src="index.cordova.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*...." />
<allow-intent href="...." />
<allow-intent href="..." />
<platform name="android">
<allow-intent href="market:*" />
<icon src="assets/android/ldpi.png" density="ldpi" />
<icon src="assets/android/mdpi.png" density="mdpi" />
<icon src="assets/android/hdpi.png" density="hdpi" />
<icon src="assets/android/xhdpi.png" density="xhdpi" />
<icon src="assets/android/xxhdpi.png" density="xxhdpi" />
<icon src="assets/android/xxxhdpi.png" density="xxxhdpi" />
</platform>
<platform name="ios">
....
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="23" />
<preference name="BackupWebStorage" value="none" />
Not sure if there is a problem withany configuration specific to Android in Cordova. Is there any plugin specific to Android Cordova need to be installed
Really appreciate your help.
Inquire about permissions. Android 10 application development in Cordova for MIUI. 12.x.x.
I have to activate two software permissions:
1.- Application block (Padlock).
2.- Allow Show pop-up windows while running in the background.
Manifies
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ROLE_CALL_SCREENING" />
<uses-permission android:name="android.permission.ACTION_MANAGE_OVERLAY_PERMISSION" />
Fail.
Att. Thans