codedge-llc / pigeon

iOS and Android push notifications for Elixir
https://hex.pm/packages/pigeon
MIT License
639 stars 143 forks source link

Please provide guidance on how to get useful values for the environment variables needed to run tests #263

Open Sinc63 opened 3 months ago

Sinc63 commented 3 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I should explain my situation first. I have an installed base of several thousand systems on several releases, which generate Push notifications using Pigeon 1.6. The push notifications are then sent to a single centralized Push Server, which authenticates the systems, and passes the pushes through to Apple and Google. The folks who were notified a year ago that Google was discontinuing the Legacy FCM API failed to deal with it, so I found out about this on June 17th! So I now have an urgent need to eliminate Legacy APIs. Happily because we have a centralized server that communicates to Google for everyone else I can now make that server translate the old messages into the new format to the best of my ability. I think this will be easier to do within the Pigeon framework that already has both APIs defined. So I've forked Pigeon and want to be able to run tests.

Running tests requires setting a group of environment variables. Please provide a help file of some sort that explains how to generate or find valid values for all of the variables (shown below).

Describe the solution you'd like A clear and concise description of what you want to happen. A clear and concise description of how to get these values:

APNS_CERT=
APNS_KEY_UNENCRYPTED=
APNS_TOPIC=
GCM_KEY=
VALID_APNS_TOKEN=
VALID_GCM_REG_ID=
ADM_OAUTH2_CLIENT_ID=
ADM_OAUTH2_CLIENT_SECRET=
APNS_AUTH_KEY_P8=
APNS_JWT_KEY_IDENTIFIER=
APNS_JWT_TEAM_ID=
FCM_PROJECT=
FCM_SERVICE_ACCOUNT_JSON=