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

fix(app-distribution, ios): missing downloadURL #5668

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

YukiKitagata
Copy link
Contributor

@YukiKitagata YukiKitagata commented Aug 31, 2021

Description

I found a bug that downloadURL was not being passed.

image

I have reviewed the implementation, and it seems that the NSURL is directly passed to resolve, and becomes null when it is serialized by RN.

NSURL is converted to String by accessing the absoluteString property, so this bug is fixed.

Related issues

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-firebase is great? Please consider supporting the project with any of the below:

@vercel
Copy link

vercel bot commented Aug 31, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

react-native-firebase-next – ./website_modular

🔍 Inspect: https://vercel.com/invertase/react-native-firebase-next/GZvtTTFUFZ6STwgeAwnvJzpE775p
✅ Preview: Canceled

react-native-firebase – ./

🔍 Inspect: https://vercel.com/invertase/react-native-firebase/DnPPkV1KELhv6PWwb5oyy8Jm63i3
✅ Preview: https://react-native-firebase-git-fork-n1nc-fix-missin-3bf473-invertase.vercel.app

@codecov
Copy link

codecov bot commented Aug 31, 2021

Codecov Report

Merging #5668 (62c9fab) into master (41c0107) will increase coverage by 19.43%.
The diff coverage is n/a.

❗ Current head 62c9fab differs from pull request most recent head 58ceab5. Consider uploading reports for the commit 58ceab5 to get more accurate results

@@              Coverage Diff              @@
##             master    #5668       +/-   ##
=============================================
+ Coverage     53.65%   73.08%   +19.43%     
=============================================
  Files           208      109       -99     
  Lines         10084     4487     -5597     
  Branches       1543      957      -586     
=============================================
- Hits           5410     3279     -2131     
+ Misses         4391     1129     -3262     
+ Partials        283       79      -204     

Copy link
Collaborator

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

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

Another trivial/obvious error in the implementation, you have my continued appreciation for helping clean these up. I clearly need to figure out a way / any way to test these in E2E some how. This has me worried about the Android implementation as well...

@mikehardy mikehardy added the Workflow: Pending Merge Waiting on CI or similar label Aug 31, 2021
@YukiKitagata
Copy link
Contributor Author

@mikehardy

Thanks for the quick response!
I also hope that E2E can prevent this kind of bug from happening...
I'll check it out when I get a chance to use it on Android :)

@mikehardy mikehardy merged commit 66d991c into invertase:master Aug 31, 2021
@mikehardy mikehardy removed the Workflow: Pending Merge Waiting on CI or similar label Aug 31, 2021
@YukiKitagata YukiKitagata deleted the fix/missing-download-url branch August 31, 2021 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants