android - How to disable older GCM token after app update? -


i upgrade notification module gcm fcm , release 'appstore' , 'playstore'. issue updated app old version device receiving duplicated message. delete app , reinstall it's ok receive 1 message.

i found reason older gcm token still activated app updated. 1 app has 2 activated token(one gcm,another fcm)

older gcm token

d3-b3lp9_mu:apa91bhmjknzwjdt8r1beky5b4t....

newer fcm token

d3-b3lp9_mu:apa91bedc5y4gqp3v9xyu.......

how can disable older gcm token???


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -