Skip to first unread message
Assigned to ewpa...@gmail.com by chrisw...@gmail.com

Douglas Barbosa

unread,
Oct 21, 2018, 9:09:45 AM10/21/18
to MIT App Inventor Forum

I use TAIFUNTM extension in two apps. It used to work fine.
In order to update to the new Google Play format, I recently built the apps without any changes.
Since then, the apps started to show the following message: 


"
Runtime Error
getDeviceID Neither user 10316 not current process has 
android.permission.READ_PHONE_STATE or 
android.permission.READ_SMS
"
When I open the app informations screen and set permitions manually, it works.

I uninstalled the apps and reinstalled the old versions in the same android and the same cell phone. The old versions worked fine.

I have already added the PhoneCall component to the SCREEN1 and the situation is the same.
I used apktool to decoded my app and I examined the manifest. All the permissions are there (see below).

    <uses-permission android:name="android.permission.RECEIVE_SMS"/>
    <uses-permission android:name="android.permission.SEND_SMS"/>
    <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
    <uses-permission android:name="android.permission.CALL_PHONE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
    <uses-permission android:name="android.permission.ACCOUNT_MANAGER"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
    <uses-permission android:name="com.google.android.apps.googlevoice.permission.RECEIVE_SMS"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="com.google.android.apps.googlevoice.permission.SEND_SMS"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>

I am completely puzzled. I thank in advance anyone who may help me.

Chris Ward

unread,
Oct 21, 2018, 12:21:55 PM10/21/18
to MIT App Inventor Forum
Hello Douglas

I'm assigning your Post to MIT. There might be a work-around but I do not know of one.
Reply all
Reply to author
Forward
0 new messages