-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(wallet-mobile): Add remote notifications #3744
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a708e6e
WIP
michaeljscript efae07b
WIP
michaeljscript 71bc6b6
Update build.gradle
michaeljscript 4d0727d
Remove unused libs
michaeljscript e671e24
Fix android build
michaeljscript 7879992
Fix lint
michaeljscript cef7dcb
Make notifications work on android
michaeljscript 15531e3
Improve parsing
michaeljscript b24f0f8
WIP
michaeljscript e0ca044
WIP
michaeljscript 7d41192
Fix iOS build
michaeljscript 09656b5
WIP
michaeljscript ca4e1ca
Register remote notifications
michaeljscript ff05e57
Merge branch 'develop' into feat/remote-notifications
michaeljscript 6dfeb59
fix ios build
michaeljscript 00de30a
Merge branch 'develop' into feat/remote-notifications
michaeljscript 76f66df
Merge branch 'develop' into feat/remote-notifications
michaeljscript 2a4be64
Merge branch 'develop' into feat/remote-notifications
michaeljscript b873cbd
Merge branch 'develop' into feat/remote-notifications
michaeljscript 1c694a1
Add env specific google services file for android
michaeljscript ee25e40
Merge branch 'develop' into feat/remote-notifications
michaeljscript 21a791b
Add iOS notification settings
michaeljscript f5d0648
Merge branch 'develop' into feat/remote-notifications
michaeljscript dbbcf82
Update build.gradle
michaeljscript a41d76c
Merge branch 'feat/remote-notifications' of https://github.com/Emurgo…
michaeljscript 63bdd5c
Merge branch 'develop' into feat/remote-notifications
michaeljscript f8fdd80
Remove artifacts
michaeljscript 717c861
Remove old google services file
michaeljscript 106246d
Use other project for dev
michaeljscript 4a91780
Update yoroi.entitlements
michaeljscript File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
29 changes: 29 additions & 0 deletions
29
apps/wallet-mobile/android/app/src/dev/google-services.json
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": "1028338182097", | ||
"project_id": "yoroi-mobile-dev-1", | ||
"storage_bucket": "yoroi-mobile-dev-1.firebasestorage.app" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:1028338182097:android:19a81ded2005af76bca2f0", | ||
"android_client_info": { | ||
"package_name": "com.emurgo.dev" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyABpYF2WWAlu66c_1UmyCA9VcBgg8RcLRA" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
67 changes: 67 additions & 0 deletions
67
apps/wallet-mobile/android/app/src/main/google-services.json
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,67 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "526970676782", | ||
"project_id": "yoroi-mobile-99140", | ||
"storage_bucket": "yoroi-mobile-99140.firebasestorage.app" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:526970676782:android:7eafa93ccb53f41ca021bf", | ||
"android_client_info": { | ||
"package_name": "com.emurgo" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyDRxPyhvvI1QSSE7cjc12ac7uJnOa7SY1w" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
}, | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:526970676782:android:ca69aadf225bb5e1a021bf", | ||
"android_client_info": { | ||
"package_name": "com.emurgo.dev" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyDRxPyhvvI1QSSE7cjc12ac7uJnOa7SY1w" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
}, | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:526970676782:android:ce7b04c50c003146a021bf", | ||
"android_client_info": { | ||
"package_name": "com.emurgo.nightly" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyDRxPyhvvI1QSSE7cjc12ac7uJnOa7SY1w" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
48 changes: 48 additions & 0 deletions
48
apps/wallet-mobile/android/app/src/nightly/google-services.json
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,48 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "526970676782", | ||
"project_id": "yoroi-mobile-99140", | ||
"storage_bucket": "yoroi-mobile-99140.firebasestorage.app" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:526970676782:android:ca69aadf225bb5e1a021bf", | ||
"android_client_info": { | ||
"package_name": "com.emurgo.dev" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyDRxPyhvvI1QSSE7cjc12ac7uJnOa7SY1w" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
}, | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:526970676782:android:ce7b04c50c003146a021bf", | ||
"android_client_info": { | ||
"package_name": "com.emurgo.nightly" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyDRxPyhvvI1QSSE7cjc12ac7uJnOa7SY1w" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>API_KEY</key> | ||
<string>AIzaSyD_QC_z6o8rY8Ui5g_Zl0clkUz8PxiHMss</string> | ||
<key>GCM_SENDER_ID</key> | ||
<string>526970676782</string> | ||
<key>PLIST_VERSION</key> | ||
<string>1</string> | ||
<key>BUNDLE_ID</key> | ||
<string>com.emurgo.yoroi-nightly</string> | ||
<key>PROJECT_ID</key> | ||
<string>yoroi-mobile-99140</string> | ||
<key>STORAGE_BUCKET</key> | ||
<string>yoroi-mobile-99140.firebasestorage.app</string> | ||
<key>IS_ADS_ENABLED</key> | ||
<false></false> | ||
<key>IS_ANALYTICS_ENABLED</key> | ||
<false></false> | ||
<key>IS_APPINVITE_ENABLED</key> | ||
<true></true> | ||
<key>IS_GCM_ENABLED</key> | ||
<true></true> | ||
<key>IS_SIGNIN_ENABLED</key> | ||
<true></true> | ||
<key>GOOGLE_APP_ID</key> | ||
<string>1:526970676782:ios:f2e0566b5e14585ca021bf</string> | ||
</dict> | ||
</plist> |
30 changes: 30 additions & 0 deletions
30
apps/wallet-mobile/ios/GoogleService-Info-Production.plist
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,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>API_KEY</key> | ||
<string>AIzaSyD_QC_z6o8rY8Ui5g_Zl0clkUz8PxiHMss</string> | ||
<key>GCM_SENDER_ID</key> | ||
<string>526970676782</string> | ||
<key>PLIST_VERSION</key> | ||
<string>1</string> | ||
<key>BUNDLE_ID</key> | ||
<string>com.emurgo.yoroi</string> | ||
<key>PROJECT_ID</key> | ||
<string>yoroi-mobile-99140</string> | ||
<key>STORAGE_BUCKET</key> | ||
<string>yoroi-mobile-99140.firebasestorage.app</string> | ||
<key>IS_ADS_ENABLED</key> | ||
<false></false> | ||
<key>IS_ANALYTICS_ENABLED</key> | ||
<false></false> | ||
<key>IS_APPINVITE_ENABLED</key> | ||
<true></true> | ||
<key>IS_GCM_ENABLED</key> | ||
<true></true> | ||
<key>IS_SIGNIN_ENABLED</key> | ||
<true></true> | ||
<key>GOOGLE_APP_ID</key> | ||
<string>1:526970676782:ios:91560a3aea4e90e9a021bf</string> | ||
</dict> | ||
</plist> |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here is dev, yet 99140 looks prod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Also made restrictions to production keys.