User hs00105

Member for: 6 years
Type: Super Administrator
Extra privileges: Recategorizing any question
Editing any question
Editing any answer
Editing any comment
Editing posts silently
Closing any question
Selecting answer for any question
Viewing IPs of anonymous posts
Viewing who voted or flagged posts
Approving or rejecting posts
Hiding or showing any post
Deleting hidden posts
Full name: Himanshu Sharma
Location: Gurgaon
Website: http://www.shephertz.com/
About:

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 "
Thanks.
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 checker.kshitij@gmail.com
Apr 24, 2016 by checker.kshitij
...