Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MYID Public Code
MyID React Native SDK
Commits
594a0b93
Commit
594a0b93
authored
Apr 06, 2023
by
Javohir Savriy
Browse files
Updated README.md
parent
6e1c2b40
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
594a0b93
# MyID Sample React Native
## [Android](https://gitlab.myid.uz/myid-public-code/myid-sample-android)
## [iOS](https://gitlab.myid.uz/myid-public-code/myid-sample-ios)
android/app/src/main/java/com/myidsample/MyIdModule.java
View file @
594a0b93
...
...
@@ -90,14 +90,10 @@ public class MyIdModule extends ReactContextBaseJavaModule implements LifecycleE
}
@ReactMethod
public
void
startMyId
(
String
clientId
,
String
passportData
,
String
dateOfBirth
)
{
MyIdConfig
myIdConfig
=
new
MyIdConfig
.
Builder
(
clientId
)
.
withPassportData
(
passportData
)
.
withBirthDate
(
dateOfBirth
)
public
void
startMyId
()
{
MyIdConfig
myIdConfig
=
new
MyIdConfig
.
Builder
(
"YOUR_CLIENT_ID"
)
.
withPassportData
(
"AB1234567"
)
.
withBirthDate
(
"01.09.1991"
)
.
withBuildMode
(
MyIdBuildMode
.
PRODUCTION
)
.
withEntryType
(
MyIdEntryType
.
AUTH
)
.
withResidency
(
MyIdResidentType
.
RESIDENT
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment