I am using GCM in my android app. My app is totally based on GCM. I implemented client side and server side and working fine. I am having problem in expiration of registration with google server. I registered successfully but it register only for next 7 days. I already tried this `GCMRegistrar.setRegisteredOnServer(_context, true);
final long DEFAULT_ON_SERVER_LIFESPAN_MS =
1000 * 3600 * 24 * 365;
GCMRegistrar.setRegisterOnServerLifespan(_context, DEFAULT_ON_SERVER_LIFESPAN_MS);`
but it still registering key for 7 days. I know if we change version code google server may change GCM key but right now I am not changing this version code. Any idea what should I do to overcome this expiration issue.