-
Notifications
You must be signed in to change notification settings - Fork 2
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
CMP-4885: - implemented isUnderage flag and DidomiInitializeParameters #143
base: main
Are you sure you want to change the base?
Conversation
…s. - Removed force unwrapping. - Removed fatalError.
@@ -319,6 +322,7 @@ class DidomiModule(reactContext: ReactApplicationContext) : ReactContextBaseJava | |||
} | |||
|
|||
@ReactMethod | |||
@Deprecated("Use initializeWithParameters instead", replaceWith = ReplaceWith("initializeWithParameters()")) |
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.
This method is internal, maybe it is not necessary to mark it as deprecated
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.
I can remove it. Currently we mark other methods as deprecated
as well. I'll remove those too. Let me know what you think.
Changed included:
isUnderage
flag onsetUser
andinitialize
.initialize
function that acceptsDidomiInitializeParameters
.setUser
function that acceptsDidomiUserParameters
.setUser
functions not based onDidomiUserParameters
.initialize
functions not based onDidomiInitializeParameters
.fatalError
.