Skip to content

Conversation

@zibs
Copy link
Contributor

@zibs zibs commented Jul 30, 2024

Fixes #478

Description

it was possible that the issuer could be an empty string ('') which would indeed cause the app to crash, since our invariant check missed that.

This is a required field, and the docs mention it, and the user must supply it in order for the functionality to work, but in the case that it's missed or forgotten, this is better than hard crashing as it was.

Steps to verify

  • before fix, set issuer: '', and see app hard crash
  • after fix, app doesn't hard crash

@vercel
Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-app-auth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 9:45pm

@changeset-bot
Copy link

changeset-bot bot commented Jul 30, 2024

🦋 Changeset detected

Latest commit: 3b15076

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-native-app-auth Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

it was possible that the issuer could be an empty string ('') which would indeed cause the app to crash, since our `invariant` check missed that.
fixes #478

Update index.js

Create short-lies-behave.md
@zibs zibs merged commit 438d512 into main Aug 1, 2024
@zibs zibs deleted the fix/478-prefetch-crash branch August 1, 2024 19:49
@github-actions github-actions bot mentioned this pull request Aug 1, 2024
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.

[Android] App crash on prefetchConfiguration if issuer is missing.

3 participants