-
Notifications
You must be signed in to change notification settings - Fork 41
Jwt/sdk 191 add jwt to example app #784
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
Conversation
… RNIterableAPIModule
…AppMessage.getMessageId()
…sses' into jwt/MOB-10947-task-3-android-retrypolicy-config-at-android-br
…in Iterable class
…sses' into jwt/MOB-10947-task-3-android-retrypolicy-config-at-android-br
…sses' into jwt/MOB-10947-task-3-android-retrypolicy-config-at-android-br
…reReason enum values
…sses' into jwt/MOB-10947-task-3-android-retrypolicy-config-at-android-br
…line configuration
…sses' into jwt/MOB-10947-task-3-android-retrypolicy-config-at-android-br
…gistration in AppDelegate
…n ReactIterableAPI
…terableAppProvider
…o clean up the implementation
…in IterableAppProvider
…ove old utility index
…ator [SDK-136] Add Jwt Generator to Example app
…e result handling
…oken-of-undefined
…uthtoken-of-undefined
…perty-authtoken-of-undefined [SDK-151] cannot-read-property-authtoken-of-undefined
…ty/cli as a dependency
…-to-latest [SDK-181] update ios/android sdk versions
…ality [SDK-149] add-logout-functionality
|
Diff Coverage: The code coverage on the diff in this pull request is 87.6%. Total Coverage: This PR will increase coverage by 6.97%. File Coverage Changes
🛟 Help
This is from Qlty Cloud, the successor to Code Climate Quality. Learn more. |
8 new issues
This is from Qlty Cloud, the successor to Code Climate Quality. Learn more. |
| * | ||
| * @return A JWT string | ||
| */ | ||
| public static String generateToken( |
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.
| durationMs: Double, | ||
| email: String?, | ||
| userId: String?, | ||
| promise: Promise |
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.
| UIApplication.shared.registerForRemoteNotifications() | ||
| } | ||
| } | ||
| } |
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.
| ) { | ||
| return true; | ||
| } | ||
| return false; |
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.
| if ((promiseResult as IterableAuthResponse).successCallback) { | ||
| (promiseResult as IterableAuthResponse).successCallback?.(); | ||
| if (promiseResult.successCallback) { | ||
| promiseResult.successCallback?.(); |
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.
| // We are currently only reporting JWT related errors. In | ||
| // the future, we should handle other types of errors as well. | ||
| if (promiseResult.failureCallback) { | ||
| promiseResult.failureCallback?.(); |
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.
🔹 JIRA Ticket(s) if any
✏️ Description