Skip to content
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

[Wallet] Enable push notifications on iOS #1389

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

jeanregisser
Copy link
Contributor

Description

This PR enables push notifications on iOS.

I've also generated the APNs key and added it to the iOS apps on firebase.

Tested

Manually sent a push notification through firebase cloud messaging UI.
I haven't been able to do an end-to-end test with a payment as there's currently a problem with the notification service on integration. I'm debugging that as well and will open another issue/PR to track it.

IMG_2734

Other changes

N/A

Related issues

Backwards compatibility

Yes.

@codecov
Copy link

codecov bot commented Oct 17, 2019

Codecov Report

Merging #1389 into master will decrease coverage by 0.47%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1389      +/-   ##
==========================================
- Coverage   66.91%   66.43%   -0.48%     
==========================================
  Files         265      264       -1     
  Lines        7780     7744      -36     
  Branches      514      445      -69     
==========================================
- Hits         5206     5145      -61     
- Misses       2472     2499      +27     
+ Partials      102      100       -2
Flag Coverage Δ
#mobile 66.43% <ø> (-0.48%) ⬇️
Impacted Files Coverage Δ
packages/mobile/src/account/Analytics.tsx 0% <0%> (-100%) ⬇️
packages/mobile/src/account/Licenses.tsx 0% <0%> (-100%) ⬇️
packages/mobile/src/web3/reducer.ts 54.54% <0%> (-2.6%) ⬇️
packages/mobile/src/web3/saga.ts 50.31% <0%> (-0.88%) ⬇️
packages/mobile/src/redux/sagas.ts 83.33% <0%> (-0.67%) ⬇️
packages/mobile/src/account/Invite.tsx 82.35% <0%> (ø) ⬆️
packages/mobile/src/navigator/Navigator.tsx 0% <0%> (ø) ⬆️
packages/mobile/src/navigator/Screens.tsx 100% <0%> (ø) ⬆️
packages/mobile/src/account/Education.tsx 92.85% <0%> (ø) ⬆️
packages/mobile/src/account/EditProfile.tsx 81.25% <0%> (ø) ⬆️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72ffef8...bb44090. Read the comment docs.

Copy link
Contributor

@cmcewen cmcewen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jeanregisser jeanregisser added the automerge Have PR merge automatically when checks pass label Oct 17, 2019
@celo-ci-bot-user celo-ci-bot-user merged commit 43c9ebf into master Oct 17, 2019
@celo-ci-bot-user celo-ci-bot-user deleted the jeanregisser/ios-enable-push-notifications branch October 17, 2019 23:33
aaronmgdr added a commit that referenced this pull request Oct 23, 2019
* master: (37 commits)
  [Wallet] Add support for social wallet (Safeguards) import  (#1414)
  [Wallet] Implement new backup flows including social backup (#1399)
  Use validator set precompiles in Attestations (#1248)
  E2E Attestations test + various e2e improvements (#1417)
  Update Footer (#1331)
  [Wallet] New camera permission flow (#1398)
  [Wallet] Enable push notifications on iOS (#1389)
  [Wallet] Add Celo Lite toggle (UI only, zeroSync on/off in other PR) (#1369)
  Document npm inter-repo dependencies instructions (#1370)
  [wallet]Add more documentation on ZeroSync mode (#1367)
  [wallet]Add documentation for jndcrash (#1364)
  Point end-to-end tests back to master (#1372)
  Alfajores changes & comment on unlocking accounts (#1297)
  Reconfigure terraform local configuration during init to allow multiple envs (#773)
  Implement proof-of-stake changes (#1177)
  [Celotool] Update blockchain-api deploy script to automatically update faucet address (#1347)
  Allow most recently reporting oracle to report again (#1288)
  [wallet]Add documentation for ZeroSync mode (#1361)
  Fix Metadata registration during contract deploy (#1346)
  [Wallet] Enable firebase on iOS (#1344)
  ...
aaronmgdr added a commit that referenced this pull request Oct 23, 2019
* master: (128 commits)
  [Wallet] Add support for social wallet (Safeguards) import  (#1414)
  [Wallet] Implement new backup flows including social backup (#1399)
  Use validator set precompiles in Attestations (#1248)
  E2E Attestations test + various e2e improvements (#1417)
  Update Footer (#1331)
  [Wallet] New camera permission flow (#1398)
  [Wallet] Enable push notifications on iOS (#1389)
  [Wallet] Add Celo Lite toggle (UI only, zeroSync on/off in other PR) (#1369)
  Document npm inter-repo dependencies instructions (#1370)
  [wallet]Add more documentation on ZeroSync mode (#1367)
  [wallet]Add documentation for jndcrash (#1364)
  Point end-to-end tests back to master (#1372)
  Alfajores changes & comment on unlocking accounts (#1297)
  Reconfigure terraform local configuration during init to allow multiple envs (#773)
  Implement proof-of-stake changes (#1177)
  [Celotool] Update blockchain-api deploy script to automatically update faucet address (#1347)
  Allow most recently reporting oracle to report again (#1288)
  [wallet]Add documentation for ZeroSync mode (#1361)
  Fix Metadata registration during contract deploy (#1346)
  [Wallet] Enable firebase on iOS (#1344)
  ...
aaronmgdr added a commit that referenced this pull request Oct 23, 2019
* master: (37 commits)
  [Wallet] Add support for social wallet (Safeguards) import  (#1414)
  [Wallet] Implement new backup flows including social backup (#1399)
  Use validator set precompiles in Attestations (#1248)
  E2E Attestations test + various e2e improvements (#1417)
  Update Footer (#1331)
  [Wallet] New camera permission flow (#1398)
  [Wallet] Enable push notifications on iOS (#1389)
  [Wallet] Add Celo Lite toggle (UI only, zeroSync on/off in other PR) (#1369)
  Document npm inter-repo dependencies instructions (#1370)
  [wallet]Add more documentation on ZeroSync mode (#1367)
  [wallet]Add documentation for jndcrash (#1364)
  Point end-to-end tests back to master (#1372)
  Alfajores changes & comment on unlocking accounts (#1297)
  Reconfigure terraform local configuration during init to allow multiple envs (#773)
  Implement proof-of-stake changes (#1177)
  [Celotool] Update blockchain-api deploy script to automatically update faucet address (#1347)
  Allow most recently reporting oracle to report again (#1288)
  [wallet]Add documentation for ZeroSync mode (#1361)
  Fix Metadata registration during contract deploy (#1346)
  [Wallet] Enable firebase on iOS (#1344)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push notifications should work with the iOS app
3 participants