1. Download our Official Android App: Forums for Android!

Apps Getting different Android IDs for same device. Why?

Discussion in 'Android Development' started by Asifkhan1104, Jul 18, 2018.

  1. Asifkhan1104

    Asifkhan1104 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 18, 2018

    Jul 18, 2018
    1
    0
    5
    I am getting different Android IDs for same device for 2 apps in spite of they are being signed with same keystore. This problem is occurring only in Android Oreo OS. Can anyone help me why there are 2 different Android IDS generated?

    The method i am using for Android Id -

    int deviceId = Settings.Secure.getString(pContext.getContentResolver(), Settings.Secure.ANDROID_ID)
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,075
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,075
    10,037
    1,988
    Male
    Software developer
    South West of England

Share This Page

Loading...