Description
In android if i call register function without internet access then next two or three time running the app it receives new registration id but when i run the app with internet access, even after weeks it doesn't change my registration id! If i don't call register function when i don't have internet connection then the app doesn't receive selecting notification event by the user.
1- run the app with internet access and receive the first reg id
2- close the app and disconnect the internet and run the app again. Its better after running the register function you immediately close the app. probably because of exception, it thinks the reg id is invalid.
3- close the app and connect the internet and run the app again - the same reg id
4- close the app and run the app again - we have new id in most of the times