-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Cross): [IOAPPX-432] Development Push notifications for Android (…
…#6416) ## Short description This PR enables testing of push notifications for the development environment on Android. ## List of changes proposed in this pull request - Mock google-services.json file removed in favour of a development one - Such file contains configuration ids and api keys that link to the Firebase development project. Its content is normally embedded into the application bundle and it is easily extracted so it does not contain any secret that should not be committed. - Code that avoided push notification initialisation on Android has been removed, since we now have a valid configuration file - Note that this works only on Android. iOS sandbox is not supported yet ## How to test Using the io-dev-api server, run the application on a real device or on an emulator that uses a Google Play Services image. Use the Firebase Console to send and receive a push notification. Co-authored-by: Alessandro <[email protected]>
- Loading branch information
Showing
4 changed files
with
30 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "100508770872", | ||
"project_id": "io---app-dev", | ||
"storage_bucket": "io---app-dev.firebasestorage.app" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:100508770872:android:3bae755a9e0015bde77ccd", | ||
"android_client_info": { | ||
"package_name": "it.pagopa.io.app" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyDxRvOra_wlultFBZc4D8nbtJ2fyNzUCpk" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters