-
Notifications
You must be signed in to change notification settings - Fork 23
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
PingProtect Implementation #391
Conversation
c690693
to
c475b58
Compare
5176bb5
to
a1395d3
Compare
@@ -93,7 +94,6 @@ dependencies { | |||
|
|||
def coroutine_version = '1.7.2' | |||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version" | |||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version" |
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 dont need this anymore ..all the coroutines are part of org.jetbrains.kotlinx:kotlinx-coroutines-android:
customCSSFile = projectDir.toString() + "/dokka/fr-backstage-styles.css" | ||
customLogoFile = projectDir.toString() + "/dokka/logo-icon.svg" | ||
customTemplatesFolder = file(projectDir.toString() + "/dokka/templates") | ||
} | ||
repositories { |
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.
moved all the repositories to settings.xml . @spetrov we may need to test the maven release to make sure this change works
@@ -25,6 +25,5 @@ android.useAndroidX=true | |||
GROUP=org.forgerock | |||
VERSION=4.2.0 | |||
VERSION_CODE=18 | |||
android.defaults.buildfeatures.buildconfig=true |
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 is deprecated , so moved this buildconfig to build.gradle
0fc889f
to
171e994
Compare
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.
Looks good to me, minor comment for the sample App.
FRAuth.start(context, options) | ||
current = options | ||
|
||
CoroutineScope(Dispatchers.Default).launch { |
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.
May remove this from the sample, what about create another navigation menu to initialize the Protect SDK?
171e994
to
72500fe
Compare
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.
Looks good to me! 👍🏻
private val TAG = PingOneProtectInitCallback::class.java.simpleName | ||
|
||
/** | ||
* Callback to initialize the ping one protect |
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 should use consistent naming across the docs - i.e. PingOne Protect
instead od "ping one protect"
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.
Changes looks good. Minor comments to be addressed.
@@ -12,124 +12,135 @@ import androidx.compose.runtime.getValue | |||
import androidx.compose.runtime.mutableStateOf | |||
import androidx.compose.runtime.setValue | |||
import androidx.lifecycle.ViewModel | |||
import kotlinx.coroutines.CoroutineScope |
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.
Update copyright
72500fe
to
899555d
Compare
comments addressed . |
39a48b2
to
0c18f8e
Compare
0c18f8e
to
f0d7fb7
Compare
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.
Changes looks good to me
/** | ||
* Callback to initialize the ping one protect | ||
*/ | ||
open class PingOneProtectInitCallback : AbstractCallback { |
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.
Shouldn't this class be called PingOneProtectInitializeCallback
?
99352dc
JIRA Ticket
Please link jira ticket here
Description
Briefly describe the change and any information that would help speedup the review and testing.