-
-
Notifications
You must be signed in to change notification settings - Fork 115
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(app-check): support static debug token on web #810
feat(app-check): support static debug token on web #810
Conversation
…eljass/capacitor-firebase into feat-support-static-debug-token
chore(app-check): adds changeset for the changes
…eljass/capacitor-firebase into feat-support-static-debug-token
Sorry for commit message mess. Tried to squash these to single one, but seems to have failed to do so. I think this can be merged with "squash and merge" to remove unnecessary commits from the history. |
Thank you. I'm currently working on the update to Capacitor 7. I will soon take a look at your PR. |
`debug` option is removed
String debugTokenString = call.getString("debugToken", ""); | ||
hasDebugToken = debugTokenString != null && !debugTokenString.isEmpty(); |
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.
String debugTokenString = call.getString("debugToken", ""); | |
hasDebugToken = debugTokenString != null && !debugTokenString.isEmpty(); | |
String debugTokenString = call.getString("debugToken"); | |
hasDebugToken = debugTokenString != null; |
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.
How would you match the empty string then? In web it is seen as falsy, but in this case in Android code debugTokenString != null
will return as true
if debugToken
option is set to ""
.
...rc/main/java/io/capawesome/capacitorjs/plugins/firebase/appcheck/FirebaseAppCheckPlugin.java
Show resolved
Hide resolved
Co-authored-by: Robin Genz <[email protected]>
…eljass/capacitor-firebase into feat-support-static-debug-token
@eljass Please fix the failed workflow. |
@capacitor-firebase/analytics
@capacitor-firebase/app
@capacitor-firebase/app-check
@capacitor-firebase/authentication
@capacitor-firebase/crashlytics
@capacitor-firebase/firestore
@capacitor-firebase/functions
@capacitor-firebase/messaging
@capacitor-firebase/performance
@capacitor-firebase/remote-config
@capacitor-firebase/storage
commit: |
Thank you! 🙌 |
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run changeset
).Adds support to include static debug token within web App Check initialization. This can be used with CI and/or during development.
Refers to: #808