You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
Hi,
This feature request follows the discussion on the android-gcm mailing list
here: https://groups.google.com/forum/?fromgroups#!topic/android-gcm/T0FFavXQcmA
------------------------------------------------------------
We have different Google API projects for different environments that we have -
dev, test, prod. These were created for OAuth2 integration earlier and we are
looking at enabling Google Cloud Messaging for all these projects and use them
in respective environments (we want to use the environment specific project IDs
to keep GCM statistics for these isolated).
So, we would like to have the ability to pick-up the sender ID (based on the
env the APK is built for) from our Android client's config file instead of
hard-coding it in the code.
The issue we are facing is that GCMBaseIntentService expects sender ID to be
passed in its constructor, where the app context is not available, else I could
have fetched the config using it.
------------------------------------------------------------
The above mentioned mailing-list suggests a code change that will help such
use-cases.
Thanks for your support.
Original issue reported on code.google.com by roshanda...@gmail.com on 12 Jul 2012 at 4:29
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
roshanda...@gmail.com
on 12 Jul 2012 at 4:29The text was updated successfully, but these errors were encountered: