User hs00105

Member for: 4 years
Type: Registered user
Full name: Himanshu Sharma
Location: Gurgaon

Activity by hs00105

Score: 517 points (ranked #7)
Questions: 0
Answers: 111 (26 chosen as best)
Comments: 89
Voted on: 6 questions, 1 answer
Gave out: 7 up votes, 0 down votes
Received: 24 up votes, 0 down votes

Wall for hs00105

Please log in or register to post on this wall.
hi there ...
I have this error when I'm trying to push a notification from the server to a user [ errorCode=InvalidRegistration ]

I'm using these lines to get my device ID :
ndroidJavaClass up = new AndroidJavaClass ("com.unity3d.player.UnityPlayer");
        AndroidJavaObject currentActivity = up.GetStatic<AndroidJavaObject> ("currentActivity");
        AndroidJavaObject contentResolver = currentActivity.Call<AndroidJavaObject> ("getContentResolver");  
        AndroidJavaClass secure = new AndroidJavaClass ("android.provider.Settings$Secure");
        DeviceToken = secure.CallStatic<string> ("getString", contentResolver, "android_id");
        DeviceToken = SystemInfo.deviceUniqueIdentifier;
it was working when was using other backend services, but I really would like to use your backend service.
" need a clear answer please about this problem "
Apr 15, 2017 by omarkhaked
hi, i see you just answered my question. i would be requiring some further help. can you please help me with where to contact you. my email id is
Apr 24, 2016 by checker.kshitij