Android Question Adding BILLING suppress Wifi and Phone-State

Discussion in 'Android Questions' started by Alberto Michelis, Jul 17, 2015.

  1. Alberto Michelis

    Alberto Michelis Active Member Licensed User

    I`ve added the billing to my app and when I upload the apk it says that the ACCESS-WIFI-STATE AND THE READ-PHONE-STATE permissions are suppresed.
    See image
    Anything I did wrong?
    Thanks
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    It is not related to the billing library.

    I think that it tells you that previously your app used these two permissions and with this update it no longer uses these permissions.
     
  3. Alberto Michelis

    Alberto Michelis Active Member Licensed User

    But i change nothing between both builds but add the billing lib
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    All I can say without comparing the projects is that the Billing library only adds the com.android.vending.BILLING. It cannot remove any permission.
     
  5. Alberto Michelis

    Alberto Michelis Active Member Licensed User

    Weird... Im still testing the internet conn with

    Code:
    Sub Test_Internet_Connection
        
    Dim p As Phone
        
    Dim overall_data_state As Int
        
    Dim cellular_data_state As Int
        
    '0 Disabled - 1 Enabled. May also return a 3 in enabled state but I can find no explanation of the return values
        'Note: Turning on airplane mode is not the same as disabling wifi
        Dim wifi As Int = p.GetSettings ("wifi_on")
        
    'Msgbox("Wi-Fi value is: " & wifi, "")
        Dim airplane_mode As Int = p.GetSettings ("airplane_mode_on")
        
    'Msgbox("Airplane mode value is: " & airplane_mode, "")
    ...
    ...
    Nothing changes between both versions
     
Loading...