[INJIMOB-781] refactor the wrapTopCard condition
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
82
.talismanrc
@@ -2,7 +2,7 @@ fileignoreconfig:
|
||||
- filename: package.json
|
||||
checksum: 5b4fcb5ddc7cc96cc2d1733b544d56ea66e88cdab995a1052fbf9ac0e9c2dc21
|
||||
- filename: package-lock.json
|
||||
checksum: 0332759e70995880ae622b6b40cf3dc7bb8d98b1a5004bad9bc0b096589ebd83
|
||||
checksum: 039a6c9f516b16824b6694db32e57ef763e8799a096141e49f33a0ca4e5832c4
|
||||
- filename: lib/jsonld-signatures/suites/ed255192018/ed25519.ts
|
||||
checksum: 493b6e31144116cb612c24d98b97d8adcad5609c0a52c865a6847ced0a0ddc3a
|
||||
- filename: components/PasscodeVerify.tsx
|
||||
@@ -64,7 +64,7 @@ fileignoreconfig:
|
||||
- filename: assets/Finger_Print_Icon.svg
|
||||
checksum: 776d4fe4fc4b54d185ccf97daf0511b9fe2c0e0f7c1a809047020e5e8a100db6
|
||||
- filename: android/app/build.gradle
|
||||
checksum: fac9d67005e860f4eb1fb1de3c7be51b55afca169951ff5b289d07f3f266900c
|
||||
checksum: 9f9cdcd2ffb37338760d741694486cf5418a38834c3ca1bd9c573098ee10d997
|
||||
- filename: .github/workflows/push-triggers.yml
|
||||
checksum: abc19ea38c8d7b79f15695d015709cc88a34a995181aaf12bc8344f940f3cbc4
|
||||
- filename: android/fastlane/Fastfile
|
||||
@@ -108,7 +108,7 @@ fileignoreconfig:
|
||||
- filename: injitest/src/test/java/androidTestCases/CredentialRegistryTest.java
|
||||
checksum: 126ad4f513d5e417fdc3ccbace187315b8aae4399806d3259421f8bca7d41254
|
||||
- filename: injitest/src/test/java/iosTestCases/NoNetworkIosTest.java
|
||||
checksum: e4ce65bb37f3c6a2a36b327afdec2e25747c4a7d4a6f5c7f369306848a319dd8
|
||||
checksum: 07bd2bf9f7917f8f15a1ead7717f9c24489aacc91516c69c68857cdf7b3b3cc2
|
||||
- filename: ios/fastlane/Fastfile
|
||||
checksum: a4e3772dc67a07ecbcfc58be0d6d4f7fa799cec7ac25bd269ac29459c8669ca4
|
||||
- filename: injitest/src/test/java/iosTestCases/CredentialRegistryTest.java
|
||||
@@ -144,7 +144,7 @@ fileignoreconfig:
|
||||
- filename: shared/VCMetadata.ts
|
||||
checksum: e93f988415bf91064e2cf5fbc09ff6c7226798baa5da721fa0715d5d0d6afddf
|
||||
- filename: ios/Podfile.lock
|
||||
checksum: e29b6cd09b56959ecf7747e3a9a67676e521856162af1ad2da91a2c13daad908
|
||||
checksum: d4084b7d5e04ee4199014c561a8ae228471bfed38751239acf9232fd2f57c045
|
||||
- filename: components/BackupAndRestoreBannerNotification.tsx
|
||||
checksum: e465a9947727687d784d0cb9d8db1e28f765b0659bf4a3aa6d75643aa7b14102
|
||||
- filename: components/ActivityLogEvent.ts
|
||||
@@ -168,13 +168,13 @@ fileignoreconfig:
|
||||
- filename: injitest/src/main/java/inji/api/ConfigManager.java
|
||||
checksum: 880e066743f5979929cbfa90ef3a28bf4eb7147c9dba425b2abb035025d21aa7
|
||||
- filename: injitest/src/test/java/androidTestCases/VcDownloadAndVerifyUsingEsignetTest.java
|
||||
checksum: 6d40247474a1d1dcfb86f5d7e904b14b53ab1f786ea464a59bef39d5775a762b
|
||||
checksum: 12a3b4d1350373a964313c0f272ccceb0b71e2f9f6c0f4baf7b1dcb4be6c2608
|
||||
- filename: injitest/src/test/java/androidTestCases/ChangeLanguageTest.java
|
||||
checksum: 381f1ac3d03fa524aabd38904efa5031bd5c07717b1d51dcd2465cea58076362
|
||||
checksum: 2c318055f0567a01b60204e00747d24bd757b73ffed12505787c61b033f45036
|
||||
- filename: ios/Inji/Inji.entitlements
|
||||
checksum: b2d643f91a929933747b539b9d6a87fcac17317716dbb9ccfb399e7c53d8cd52
|
||||
- filename: injitest/src/test/java/iosTestCases/ChangeLanguageTest.java
|
||||
checksum: d94cbf47726c3650b4b623e6aa76e113edf553616319450d01f05294163572e9
|
||||
checksum: 600e8cd0167d51511be6b9f91c6de19adf49d0c1d300aa41d2ecd050c8c2952f
|
||||
- filename: screens/Home/MyVcs/IdInputModal.tsx
|
||||
checksum: c18e8bbcf1c8de3327c0920fddcf1b6df54b74d894e3f04677f498712c680fe9
|
||||
- filename: screens/Home/MyVcs/OtpVerificationModal.tsx
|
||||
@@ -214,7 +214,7 @@ fileignoreconfig:
|
||||
- filename: machines/auth.ts
|
||||
checksum: 46195ee93f9b7ac6794a06eeef5dee5ea242047a557af8bf95df04e1343d7b9e
|
||||
- filename: machines/auth.typegen.ts
|
||||
checksum: 53be3eb5ec658fccc2764a5e8b0a9992c5c2b86f70ccb122c6cf6fba50f0d0f8
|
||||
checksum: f93996f750549f6de91c2a35c5817cfa85ad7b255ef36dea85224a0a154db188
|
||||
- filename: shared/commonUtil.generated.test.ts
|
||||
checksum: 4ca5983bb133f8f02bfd52fd0cc49ce37b24b164f3ca78a03ad97bb353ed00a4
|
||||
- filename: __mocks__/en.mock.json
|
||||
@@ -244,7 +244,7 @@ fileignoreconfig:
|
||||
- filename: screens/Issuers/CredentialTypeSelectionScreen.tsx
|
||||
checksum: 144bbf59e86a89bf580ac7931645ca3eaed69a9409de36f6ce9f88a14091a9d3
|
||||
- filename: components/QrCodeOverlay.tsx
|
||||
checksum: b49a3f53dd4a522f8ce47f2af72ade33e337ddbd40068911458bb3ad54197b63
|
||||
checksum: 47220a4ebd8af702afe622a29b689f651eb23387bac1c623f241839beb413d25
|
||||
- filename: machines/Issuers/IssuersEvents.ts
|
||||
checksum: fd8c30e0cf43a784be883c9d79a3bff0d2bcd9075e937d225939040542998b10
|
||||
- filename: machines/Issuers/IssuersGuards.ts
|
||||
@@ -260,11 +260,11 @@ fileignoreconfig:
|
||||
- filename: injitest/src/main/resources/TestData.json
|
||||
checksum: 1b5af14c96b456898259b4cb7a5607b006404cf0360274bdc204d7d065698e3c
|
||||
- filename: injitest/src/test/java/androidTestCases/ActivateVcTest.java
|
||||
checksum: a9abd8c0478e9f5d7db8b8289002104107d26c2d08af8959219267f71f4a7a0b
|
||||
checksum: ef35bd00dfa77e62018f11fa5ae8864720b1abdfa5da04dc429c046c72bab7c8
|
||||
- filename: machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts
|
||||
checksum: 5ff9b2a0ad8b7f38b95ad84ec2006b8aecf119c678fadebb18de4ffffd966da8
|
||||
- filename: injitest/src/test/java/androidTestCases/DeletingVcTest.java
|
||||
checksum: e4c92989937c203ca6371cf6cb3920ceaf61ad53b38d667ff2606044dc5ce469
|
||||
checksum: 8ce5adb75377348b48613c06fa759a63b9f0f9dc20d51218bbe13c4bf1f93d5d
|
||||
- filename: injitest/src/test/java/androidTestCases/GenerateUinOrVidTest.java
|
||||
checksum: 3dec3f9d8b28467af89f574e868058446beff12d5dfba13892a2d2f3033b6894
|
||||
- filename: machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts
|
||||
@@ -272,7 +272,7 @@ fileignoreconfig:
|
||||
- filename: injitest/src/test/java/androidTestCases/UnlockWithPasscodeTest.java
|
||||
checksum: efe21ba6b9e1b760cee02f0d6c5c776722142feeff7417cfdb7536ab80be3476
|
||||
- filename: injitest/src/test/java/androidTestCases/VerifyHistoryTest.java
|
||||
checksum: c2787a9adffade8310bd2245d8ea295f01e5528ae8dd156bc68ccda5321f150d
|
||||
checksum: dffc4741b251b42c81d5bdac7d649c02b37bb9045285590b29f86c2d5f526fd1
|
||||
- filename: injitest/src/test/java/androidTestCases/VcDownloadAndVerifyUsingUinTest.java
|
||||
checksum: ca06dd901386edcd914bd39b301629589d82269b79e80fad5e3562968532b590
|
||||
- filename: machines/bleShare/scan/scanGuards.ts
|
||||
@@ -282,13 +282,13 @@ fileignoreconfig:
|
||||
- filename: machines/QrLogin/QrLoginServices.ts
|
||||
checksum: b20d0caa6d23078b4010ea5185f01270356422dd216edd7834b069cdedd3383d
|
||||
- filename: machines/bleShare/scan/scanActions.ts
|
||||
checksum: 1be68caa29937d5f724fc45f8164ee607e556aae008c00ac89b83968030ed7ed
|
||||
checksum: 7b1c55e1913622d142433a296f1c75ec831441670d9b84cfaabb4863af2c1fe6
|
||||
- filename: injitest/src/test/java/iosTestCases/ActivateVcTest.java
|
||||
checksum: 280fcbfa6e7b26baa41aa9e60e8be857a16fd409f2dcc5b31d53ced7d1b26dec
|
||||
- filename: injitest/src/test/java/iosTestCases/GenerateUinOrVidTest.java
|
||||
checksum: c2a97d691bad5e07ff04b2da0487ffeb86884e14d1489657276a3e003e954735
|
||||
- filename: injitest/src/test/java/iosTestCases/VerifyHistoryTest.java
|
||||
checksum: ff7f467874f8fa6284150359f81cf1f9f00bf979f58aeda608460fc026d6c79b
|
||||
checksum: 8a00278af4c8744c713c57328991bbca438eb5d5d89b492a7f5234c47362f44b
|
||||
- filename: machines/store.ts
|
||||
checksum: 8c54719e45c1784f0c21b04f18db2c6ee87d9df08f9dfee5e4050f96eaa07592
|
||||
- filename: components/BannerNotificationContainer.tsx
|
||||
@@ -302,13 +302,13 @@ fileignoreconfig:
|
||||
- filename: machines/backupAndRestore/backupWithEncryption.typegen.ts
|
||||
checksum: 19ccac58df42ce0b6e36c66592e53441d709713fb1bff64454e0039dd3b0ac97
|
||||
- filename: injitest/src/main/java/inji/utils/TestDataReader.java
|
||||
checksum: 02d9ff0873d2f9685c4db6ad41d56eb91a59966feda20d7072ec32da6c2e22fe
|
||||
checksum: 002870c5c4d400c6d0f63001cd308fea6972a57ad7fef7e21f9ac17909d57a96
|
||||
- filename: injitest/src/test/java/iosTestCases/UnlockWithPasscodeTest.java
|
||||
checksum: a44dab1127143fa303824068f81a8ee3e7697ace4c38460d5400a0a56fe9ba7d
|
||||
- filename: injitest/src/test/java/iosTestCases/VcDownloadAndVerifyUsingEsignetTest.java
|
||||
checksum: 23bcfd393abb1802d3ecf913dd535e2487a23db7afded1fa0a1fe284513c0fa8
|
||||
checksum: 3d9e317d4463e3df61ce135ae9ed2acaef8074cf60d12f672140ab45d59c3df7
|
||||
- filename: injitest/src/test/java/iosTestCases/VcDownloadAndVerifyUsingUinTest.java
|
||||
checksum: fdf6e7b3fc04af16c0c47d2d1d7e051d7cb03e0891d4697e40997932362d06e0
|
||||
checksum: a6feabb768e2d97dfb0a1693f09d839686ce6be686523cf273b2d3ce614b34fd
|
||||
- filename: machines/Issuers/IssuersMachine.typegen.ts
|
||||
checksum: 08fd5e4eff836c219a0f16f6d4178a3511ec2581507076d3f9d32dcadbc01351
|
||||
- filename: injitest/src/test/java/iosTestCases/DeletingVcTest.java
|
||||
@@ -319,33 +319,31 @@ fileignoreconfig:
|
||||
- filename: android/app/src/main/java/io/mosip/residentapp/InjiVciClientModule.java
|
||||
checksum: 17f55840bab193bc353034445ba4fce53e1ce466e95f616c15a1351f8d2f23bc
|
||||
- filename: ios/Inji.xcodeproj/project.pbxproj
|
||||
checksum: 0a8e851803f826cc392d95d2f88b8c304948697863a528ef756e34c76614940d
|
||||
checksum: d4ae3df6731b4019fb1fc821c4a886ed378c90151c0e78ad67608bc2067df304
|
||||
- filename: ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved
|
||||
checksum: ca94b7893a0a9e7f4025675be1adec9e0e28ccc389c2f30a2a0723dec9a8b460
|
||||
- filename: ios/Inji.xcodeproj/project.pbxproj
|
||||
checksum: 0a8e851803f826cc392d95d2f88b8c304948697863a528ef756e34c76614940d
|
||||
- filename: ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved
|
||||
checksum: 31f1365526ceaa0f1aae6f2b8cab4e1ab4e798322fc3d6e6a1a74c861ae73850
|
||||
- filename: ios/Inji.xcodeproj/project.pbxproj
|
||||
checksum: 0a8e851803f826cc392d95d2f88b8c304948697863a528ef756e34c76614940d
|
||||
- filename: ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved
|
||||
checksum: 31f1365526ceaa0f1aae6f2b8cab4e1ab4e798322fc3d6e6a1a74c861ae73850
|
||||
- filename: ios/Inji.xcodeproj/project.pbxproj
|
||||
checksum: 0a8e851803f826cc392d95d2f88b8c304948697863a528ef756e34c76614940d
|
||||
- filename: ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved
|
||||
checksum: 31f1365526ceaa0f1aae6f2b8cab4e1ab4e798322fc3d6e6a1a74c861ae73850
|
||||
- filename: screens/HomeScreenLayout.tsx
|
||||
checksum: 4bf5a896dcbe74afbef3b66a2ab13fa620a3e1d23de5271a795d75a26821e893
|
||||
- filename: screens/Home/HomeScreen.tsx
|
||||
checksum: 4cb4e516acecd5607c675b8d1bb184678fbd86a39255ddd217417f3a037f3090
|
||||
- filename: components/ui/Copilot.tsx
|
||||
checksum: d9f22b5c75112518bf6216605be6ae8a72abfb5a4827cf0a3df773b4866ba290
|
||||
- filename: components/VC/Views/VCCardView.tsx
|
||||
checksum: 0444e4b854ade3ff6f4ca6964a1453b76c31e170748f219599effaa70837f086
|
||||
- filename: injitest/src/main/resources/Vids.json
|
||||
checksum: 8bcffed7a6dd565ae695e1b29de0655e10bd5c5420af2718defd593a687b8817
|
||||
- filename: injitest/src/main/java/inji/utils/UpdateNetworkSettings.java
|
||||
checksum: e249ce3e6b7f47abc183fe5a3637bb39ccb06900ef75b9b2f08426d1535e22aa
|
||||
- filename: App.tsx
|
||||
checksum: 57584cfe40dfbc9b5818e3f28cf23706e1915c0a3f31b0faf91d30087a19585f
|
||||
- filename: android/app/src/main/java/io/mosip/residentapp/RNSecureKeystoreModule.java
|
||||
checksum: f307f8273f72ec70b991baf799ae71f93c785c76e3e15847004f567558340e32
|
||||
- filename: machines/VerifiableCredential/VCItemMachine/VCItemServices.ts
|
||||
checksum: d16d4a40b246abe25a5d2da7ec65163b5756fe8ba9390608a7fc7f8e721b2ed1
|
||||
- filename: machines/VerifiableCredential/VCItemMachine/VCItemServices.ts
|
||||
checksum: 46f5b7ad6e6dcd9de9f9872c79d2c07addcd228324a43cca18525f6b1f4ff7cb
|
||||
- filename: injitest/src/test/java/iosTestCases/ShareVcTest.java
|
||||
checksum: 1cf9b61d3fcea9b63b2b9f7dffe9b5a1848e196c39f77790b6c9d83f201c6197
|
||||
- filename: android/app/src/main/java/io/mosip/residentapp/RNSecureKeystoreModule.java
|
||||
checksum: f307f8273f72ec70b991baf799ae71f93c785c76e3e15847004f567558340e32
|
||||
- filename: injitest/src/test/java/androidTestCases/ShareVcTest.java
|
||||
checksum: a7e3e579b6ac05f95932638b61272142774d0690c13717c890e87374782ea509
|
||||
- filename: ios/RNPixelpassModule.m
|
||||
checksum: c91348eceec5edbffa03ba03f3f52a8e90ff7f942816c9609080d1647052fd66
|
||||
- filename: ios/RNPixelpassModule.swift
|
||||
checksum: 822a2421798d5c0669f4ab1b983194eb770cbef2aa30bf212d06bd959738c4ca
|
||||
- filename: injitest/src/test/java/androidTestCases/VerifyHistoryTest.java
|
||||
checksum: dffc4741b251b42c81d5bdac7d649c02b37bb9045285590b29f86c2d5f526fd1
|
||||
- filename: android/app/src/main/java/io/mosip/residentapp/RNPixelpassModule.java
|
||||
checksum: cef9be4bfafb54e2c885b2459f2819554cad6448b5dc372976706894df704e5d
|
||||
- filename: android/app/src/main/AndroidManifest.xml
|
||||
checksum: 8f4bd61770b8bb0a28859ca0f3b4b095aed4e3fb5adef435cb74b9389ff13e09
|
||||
version: ""
|
||||
|
||||
9
App.tsx
@@ -26,9 +26,7 @@ import {NativeModules} from 'react-native';
|
||||
import {isHardwareKeystoreExists} from './shared/cryptoutil/cryptoUtil';
|
||||
import i18n from './i18n';
|
||||
import './shared/flipperConfig';
|
||||
import * as SplashScreen from 'expo-splash-screen';
|
||||
|
||||
SplashScreen.preventAutoHideAsync();
|
||||
const {RNSecureKeystoreModule} = NativeModules;
|
||||
// kludge: this is a bad practice but has been done temporarily to surface
|
||||
// an occurrence of a bug with minimal residual code changes, this should
|
||||
@@ -52,13 +50,6 @@ const AppLayoutWrapper: React.FC = () => {
|
||||
const controller = useApp();
|
||||
const {t} = useTranslation('WelcomeScreen');
|
||||
|
||||
useEffect(() => {
|
||||
async function hideAppLoading() {
|
||||
await SplashScreen.hideAsync();
|
||||
}
|
||||
hideAppLoading();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (AppState.currentState === 'active') {
|
||||
appService.send(APP_EVENTS.ACTIVE());
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
||||
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
||||
<meta-data android:name="expo.modules.updates.EXPO_UPDATE_URL" android:value="https://exp.host/@anonymous/inji"/>
|
||||
<activity android:name=".MainActivity" android:exported="true" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|locale|layoutDirection" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:screenOrientation="portrait">
|
||||
<activity android:name=".MainActivity" android:exported="true" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|locale|layoutDirection" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:screenOrientation="portrait">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 140 KiB |
@@ -1,74 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
android:height="108dp"
|
||||
android:width="108dp"
|
||||
android:viewportHeight="108"
|
||||
android:viewportWidth="108"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
|
||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
||||
</vector>
|
||||
|
Before Width: | Height: | Size: 27 KiB |
@@ -1,11 +0,0 @@
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:drawable="@color/splashscreen_background"/>
|
||||
|
||||
<!-- Splash screen image -->
|
||||
<item>
|
||||
<bitmap
|
||||
android:src="@drawable/splash_image"
|
||||
android:gravity="center" />
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -10,7 +10,4 @@
|
||||
<item name="android:textColorHint">#c8c8c8</item>
|
||||
<item name="android:textColor">@android:color/black</item>
|
||||
</style>
|
||||
<style name="Theme.App.SplashScreen" parent="AppTheme">
|
||||
<item name="android:windowBackground">@drawable/splashscreen</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -1,3 +1,10 @@
|
||||
import {APPLICATION_THEME} from 'react-native-dotenv';
|
||||
|
||||
const adaptiveImage =
|
||||
APPLICATION_THEME?.toLowerCase() === 'purple'
|
||||
? '../assets/purpleSplashScreen.png'
|
||||
: './assets/orangeSplashScreen.png';
|
||||
|
||||
export default {
|
||||
name: 'Inji',
|
||||
slug: 'inji',
|
||||
@@ -5,7 +12,7 @@ export default {
|
||||
orientation: 'portrait',
|
||||
icon: './assets/icon.png',
|
||||
splash: {
|
||||
image: './assets/splash.png',
|
||||
image: adaptiveImage,
|
||||
resizeMode: 'cover',
|
||||
backgroundColor: '#ffffff',
|
||||
},
|
||||
@@ -22,7 +29,7 @@ export default {
|
||||
package: 'io.mosip.residentapp',
|
||||
versionCode: 1,
|
||||
adaptiveIcon: {
|
||||
foregroundImage: './assets/Adaptive_Icon.png',
|
||||
foregroundImage: adaptiveImage,
|
||||
backgroundColor: '#FFFFFF',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
<svg id="Info_Icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path id="Path_155580" data-name="Path 155580" d="M0,0H16V16H0Z" fill="none"/>
|
||||
<path id="Path_155581" data-name="Path 155581" d="M7.4,5H8.6V6.2H7.4Zm0,2.4H8.6V11H7.4ZM8,2a6,6,0,1,0,6,6A6,6,0,0,0,8,2ZM8,12.8A4.8,4.8,0,1,1,12.8,8,4.806,4.806,0,0,1,8,12.8Z" fill="#666"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.001" height="16.001" viewBox="0 0 16.001 16.001">
|
||||
<defs>
|
||||
<linearGradient id="linear-gradient" x1="0.5" x2="0.5" y2="0.942" gradientUnits="objectBoundingBox">
|
||||
<stop offset="0" stop-color="@fill"/>
|
||||
<stop offset="1" stop-color="@fill2"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<path id="info_FILL0_wght400_GRAD0_opsz48" d="M87.46-868h1.2v-4.8h-1.2Zm.54-6.28a.65.65,0,0,0,.47-.184.609.609,0,0,0,.19-.456.669.669,0,0,0-.19-.484.628.628,0,0,0-.47-.2.63.63,0,0,0-.47.2.668.668,0,0,0-.19.484.61.61,0,0,0,.19.456A.649.649,0,0,0,88-874.28ZM88.006-864a7.744,7.744,0,0,1-3.11-.63,8.129,8.129,0,0,1-2.545-1.72,8.125,8.125,0,0,1-1.72-2.547,7.759,7.759,0,0,1-.63-3.113,7.758,7.758,0,0,1,.63-3.113,8.006,8.006,0,0,1,1.72-2.537,8.213,8.213,0,0,1,2.547-1.71A7.758,7.758,0,0,1,88.01-880a7.759,7.759,0,0,1,3.113.63,8.091,8.091,0,0,1,2.537,1.71,8.08,8.08,0,0,1,1.71,2.54A7.777,7.777,0,0,1,96-872a7.744,7.744,0,0,1-.63,3.11,8.172,8.172,0,0,1-1.71,2.542,8.077,8.077,0,0,1-2.54,1.72A7.738,7.738,0,0,1,88.006-864Zm0-1.2a6.532,6.532,0,0,0,4.81-1.99,6.582,6.582,0,0,0,1.98-4.82,6.555,6.555,0,0,0-1.976-4.81A6.557,6.557,0,0,0,88-878.8a6.576,6.576,0,0,0-4.81,1.976A6.54,6.54,0,0,0,81.2-872a6.554,6.554,0,0,0,1.99,4.81A6.565,6.565,0,0,0,88.01-865.2ZM88-872Z" transform="translate(-80 880)" fill="url(#linear-gradient)"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 1.4 KiB |
33
assets/Inji_Home_Logo.svg
Normal file
@@ -0,0 +1,33 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="105.65" height="40.549" viewBox="0 0 105.65 40.549">
|
||||
<defs>
|
||||
<linearGradient id="linear-gradient" x1="1.046" y1="0.477" x2="0" y2="0.48" gradientUnits="objectBoundingBox">
|
||||
<stop offset="0" stop-color="@fill"/>
|
||||
<stop offset="1" stop-color="@fill2"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="Group_58222" transform="translate(-14.5 -41.469)" fill="#000000">
|
||||
<g id="Group_57586" transform="translate(14.5 41.469)">
|
||||
<g id="Landscape_Inji_Logo_Scalable" fill="#000000">
|
||||
<g id="Group_57553">
|
||||
<path id="Path_155574" d="M142.378,138.31h-7.752a2.806,2.806,0,0,0-2.805,2.805v.878a2.806,2.806,0,0,0,2.805,2.805h7.752a1.464,1.464,0,0,0,1.465-1.46h0v-3.564a1.464,1.464,0,0,0-1.465-1.463Zm-7.311,5.133a1.892,1.892,0,1,1,1.892-1.894,1.892,1.892,0,0,1-1.892,1.894h0Z" transform="translate(-109.952 -120.259)" fill="url(#linear-gradient)"/>
|
||||
<path id="Path_155575" d="M39.451,88.407h7.092V86.292a7.982,7.982,0,0,0-7.978-7.982H22.482A7.982,7.982,0,0,0,14.5,86.288v1.952h3.857l1.668-4.3h5.6a1.731,1.731,0,1,1-.032,1.558h-4.5l-1.67,4.3H14.5v2.68h7.407a1.729,1.729,0,1,1,0,1.558H14.5v2.632h4.925l1.668,4.3h7.618a1.727,1.727,0,1,1,.032,1.56H20.027l-1.668-4.3H14.5v1.547a7.979,7.979,0,0,0,7.978,7.98H38.562a7.98,7.98,0,0,0,7.982-7.976V97.063H39.451a4.328,4.328,0,0,1,0-8.656h0Z" transform="translate(-14.5 -71.443)" fill="url(#linear-gradient)"/>
|
||||
<path id="Path_155576" d="M86.1,56.3H99.929s-.186-2.865-2.367-3.176S86.1,56.3,86.1,56.3Z" transform="translate(-72.754 -50.936)" fill="url(#linear-gradient)"/>
|
||||
<path id="Path_155577" d="M62.88,46.377l10.039-3.083s-1.236-2.062-2.889-1.8-7.15,4.885-7.15,4.885Z" transform="translate(-53.862 -41.469)" fill="url(#linear-gradient)"/>
|
||||
</g>
|
||||
<path id="Path_10" d="M231.322,103.364H227.68V88.34h3.642Zm5.079,0h-3.642V88.347h5.406q4.806,0,7.169,2.151t2.364,6.763v6.1h-3.642V96.758a4.419,4.419,0,0,0-1.609-3.817,7,7,0,0,0-4.244-1.182h-1.8v11.605h0Zm19.777-6.975v-4.63H248.97V88.349h10.852v8.544A6.1,6.1,0,0,1,258,101.505a5.944,5.944,0,0,1-2.789,1.512,17.54,17.54,0,0,1-3.8.349h-2.561V99.954h3.061q4.264,0,4.265-3.564m8.528,6.971h-3.646V88.347H264.7Z" transform="translate(-187.944 -79.603)" fill="#000000"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Mobile" transform="translate(53.644 69.921)" style="mix-blend-mode: normal;isolation: isolate" fill="#000000">
|
||||
<g id="Group_58225" data-name="Group 58225" style="mix-blend-mode: normal;isolation: isolate" fill="#000000">
|
||||
<path id="Path_155735" data-name="Path 155735" d="M224.5,202.106v-8H226l3.7,2.595h.056l3.7-2.595h1.5v8h-1.789v-5.76l-2.539,1.7v4.06h-1.789v-4.06l-2.55-1.7v5.76Z" transform="translate(-224.5 -194.11)"/>
|
||||
<path id="Path_155736" data-name="Path 155736" d="M352.36,202.106v-7.974l6.733-.022a2.971,2.971,0,0,1,1.974.554,2.072,2.072,0,0,1,.643,1.661,1.838,1.838,0,0,1-.738,1.622,1.737,1.737,0,0,1,.727.71,2.409,2.409,0,0,1,.235,1.135,2.208,2.208,0,0,1-.643,1.717,2.852,2.852,0,0,1-1.974.587Zm6.52-6.565h-4.731v1.789h4.731q1.018,0,1.018-.917c0-.611-.339-.872-1.018-.872Zm.224,3.221h-4.954v1.9H359.1q1.018,0,1.018-.962C360.122,199.061,359.782,198.762,359.1,198.762Z" transform="translate(-328.527 -194.11)"/>
|
||||
<path id="Path_155737" data-name="Path 155737" d="M410.32,202.106v-8h1.789v8Z" transform="translate(-375.684 -194.11)"/>
|
||||
<path id="Path_155738" data-name="Path 155738" d="M428.32,202.106v-8h1.789v6.543h5.849v1.454Z" transform="translate(-390.328 -194.11)"/>
|
||||
<path id="Path_155739" data-name="Path 155739" d="M475.3,202.106v-8h8.768v1.454h-6.979v1.767h6.33v1.454h-6.33v1.868h6.979v1.454Z" transform="translate(-428.551 -194.11)"/>
|
||||
</g>
|
||||
</g>
|
||||
<path id="Subtraction_1" d="M517.484,168.7H509.1a2.8,2.8,0,0,1-2.8-2.8h1.864a.935.935,0,0,0,.932.932h8.388a.932.932,0,0,0,.932-.932v-15.1a.932.932,0,0,0-.932-.932H509.1a.932.932,0,0,0-.932.932v4.287H506.3v-4.287a2.8,2.8,0,0,1,2.8-2.8h8.388a2.8,2.8,0,0,1,2.8,2.8v15.1A2.8,2.8,0,0,1,517.484,168.7Z" transform="translate(-400.13 -86.682)" fill="url(#linear-gradient)"/>
|
||||
<circle id="Ellipse_1178" cx="1.398" cy="1.398" r="1.398" transform="translate(111.762 75.494)" fill="#000000"/>
|
||||
<path id="Path_155740" data-name="Path 155740" d="M296.565,194.833a5.009,5.009,0,0,0-3.389-1.023h-2.013a5.009,5.009,0,0,0-3.389,1.023,4.5,4.5,0,0,0,0,6.062,4.88,4.88,0,0,0,3.31,1.023h2.147a4.917,4.917,0,0,0,3.333-1.023,4.5,4.5,0,0,0,0-6.062Zm-.7,3.573c0,.06,0,.119-.009.179h.006c0,.021-.009.039-.013.06a1.859,1.859,0,0,1-.291.787l-.006.009-.013.019a1.767,1.767,0,0,1-.544.557,3.55,3.55,0,0,1-1.94.447H291.32a3.873,3.873,0,0,1-1.827-.365,1.864,1.864,0,0,1-1.085-1.693v-1.118a1.865,1.865,0,0,1,1.437-1.814,4.335,4.335,0,0,1,1.441-.212h1.767a3.789,3.789,0,0,1,1.788.362,1.866,1.866,0,0,1,1.016,1.482.148.148,0,0,0,.006.024h0c0,.052.007.1.007.157V198.4Z" transform="translate(-221.381 -123.945)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
@@ -1,14 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="108.128" height="29.474" viewBox="0 0 108.128 29.474">
|
||||
<defs>
|
||||
<linearGradient id="linear-gradient" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox">
|
||||
<stop offset="0" stop-color="@fill"/>
|
||||
<stop offset="1" stop-color="@fill2"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="inji_home_logo" transform="translate(-18.161 -74)">
|
||||
<g id="Group_57340" data-name="Group 57340" transform="translate(18.161 74)">
|
||||
<path id="Union_3" data-name="Union 3" d="M19.715,29.471a2.126,2.126,0,0,1-1.448-.686L10.906,20.3c-.025-.029-.143-.164-.175-.2A10.727,10.727,0,0,1,9.165,8.819c.069-.153.358-.717.438-.86a10.679,10.679,0,0,1,4.6-4.33c.126-.06.619-.277.749-.328A10.638,10.638,0,0,1,26.882,6.228L34.318,14.8a2.132,2.132,0,0,1-.927,3.427,2.127,2.127,0,0,1-1.628-.118,2.127,2.127,0,0,1-.656-.512L23.668,9.023a6.379,6.379,0,0,0-7.157-1.754c-.078.03-.373.159-.447.2a6.4,6.4,0,0,0-2.761,2.6c-.05.089-.224.428-.264.517a6.44,6.44,0,0,0,.939,6.765l.138.16,7.362,8.485a2.132,2.132,0,0,1-1.643,3.486Q19.775,29.474,19.715,29.471Zm10.557-2.824a10.652,10.652,0,0,1-5.5-3.358L21.05,19,17.33,14.71a2.135,2.135,0,0,1-.324-2.368,2.126,2.126,0,0,1,2.879-.952,2.142,2.142,0,0,1,.656.524L24.26,16.2l3.719,4.289a6.388,6.388,0,0,0,7.157,1.754c.078-.036.374-.161.447-.2a6.392,6.392,0,0,0,2.761-2.6c.049-.087.224-.427.264-.515a6.44,6.44,0,0,0-.939-6.765c-.019-.025-.112-.13-.138-.16l-7.36-8.488a2.129,2.129,0,0,1,3.211-2.8l7.36,8.488c.025.03.143.165.176.2a10.727,10.727,0,0,1,1.565,11.274c-.069.153-.358.716-.437.86a10.635,10.635,0,0,1-4.6,4.331c-.127.061-.619.277-.747.328a10.635,10.635,0,0,1-6.428.435ZM47.4,25.328a2.116,2.116,0,0,1-.789-.257,2.133,2.133,0,0,1-.818-2.9,12.039,12.039,0,0,0,1.256-3.357,12.22,12.22,0,0,0,.216-1.386,11.993,11.993,0,0,0-2.8-8.968,2.134,2.134,0,0,1,.226-2.988l.019-.016a2.126,2.126,0,0,1,3,.247,16.235,16.235,0,0,1,3.8,12.133,16.419,16.419,0,0,1-.292,1.87.008.008,0,0,1,0,.006,16.3,16.3,0,0,1-1.7,4.541,2.132,2.132,0,0,1-1.279,1.01,2.1,2.1,0,0,1-.827.066Zm-41.34-.112a2.126,2.126,0,0,1-1.493-.653A16.224,16.224,0,0,1,.011,12.7a16.755,16.755,0,0,1,.173-1.886A16.3,16.3,0,0,1,1.6,6.171,2.129,2.129,0,1,1,5.436,8.014a12.029,12.029,0,0,0-1.044,3.428,12.3,12.3,0,0,0-.129,1.4A11.989,11.989,0,0,0,7.628,21.6a2.135,2.135,0,0,1-.037,3l-.018.018a2.128,2.128,0,0,1-1.478.6Z" transform="translate(0 0)" fill="url(#linear-gradient)"/>
|
||||
</g>
|
||||
<path id="Path_155492" data-name="Path 155492" d="M-50.166-36.074H-55V-56h4.834Zm6.74,0H-48.26V-56h7.173q6.376,0,9.513,2.854t3.137,8.973v8.1H-33.27v-8.768q0-3.5-2.134-5.065a9.288,9.288,0,0,0-5.631-1.568h-2.391ZM-17.18-45.33v-6.145h-9.565V-56h14.4v11.339a8.081,8.081,0,0,1-2.417,6.119,7.88,7.88,0,0,1-3.7,2.005,23.366,23.366,0,0,1-5.039.463H-26.9V-40.6h4.062Q-17.18-40.6-17.18-45.33Zm11.317,9.256H-10.7V-56h4.834Z" transform="translate(132.152 135.46)" fill="#000" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.9 KiB |
@@ -1,16 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="88.316" height="56.896" viewBox="0 0 88.316 56.896">
|
||||
<svg id="Group_57553" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="39.199" height="42" viewBox="0 0 39.199 42">
|
||||
<defs>
|
||||
<filter id="Union_3" x="0" y="0" width="88.316" height="56.896" filterUnits="userSpaceOnUse">
|
||||
<feOffset dx="1" dy="5" input="SourceAlpha"/>
|
||||
<feGaussianBlur stdDeviation="2.5" result="blur"/>
|
||||
<feFlood flood-opacity="0.149"/>
|
||||
<feComposite operator="in" in2="blur"/>
|
||||
<feComposite in="SourceGraphic"/>
|
||||
</filter>
|
||||
<linearGradient id="linear-gradient" x1="1.046" y1="0.477" x2="0" y2="0.48" gradientUnits="objectBoundingBox">
|
||||
<stop offset="0" stop-color="#FFFFFF"/>
|
||||
<stop offset="1" stop-color="#FFFFFF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="inji_small_logo" transform="translate(-113.854 -33.898)">
|
||||
<g transform="matrix(1, 0, 0, 1, 113.85, 33.9)" filter="url(#Union_3)">
|
||||
<path id="Union_3-2" data-name="Union 3" d="M28.023,41.891a3.022,3.022,0,0,1-2.058-.975L15.5,28.85c-.036-.041-.2-.233-.25-.289a15.243,15.243,0,0,1-2.225-16.025c.1-.218.509-1.019.623-1.221A15.17,15.17,0,0,1,20.192,5.16c.18-.087.88-.4,1.063-.467A15.124,15.124,0,0,1,38.213,8.852l10.568,12.19a3.035,3.035,0,0,1,.743,2.2,3.022,3.022,0,0,1-5.307,1.773L33.644,12.824A9.076,9.076,0,0,0,23.47,10.331c-.111.044-.531.228-.636.278A9.108,9.108,0,0,0,18.91,14.3c-.071.126-.318.607-.374.734a9.151,9.151,0,0,0,1.333,9.616l.2.229,10.464,12.06A3.031,3.031,0,0,1,28.193,41.9Q28.108,41.9,28.023,41.891Zm15.007-4.015A15.135,15.135,0,0,1,35.208,33.1l-5.286-6.1-5.287-6.1A3.032,3.032,0,0,1,24.9,16.6a3.017,3.017,0,0,1,4.3.337l5.286,6.1,5.286,6.1a9.074,9.074,0,0,0,10.174,2.493c.11-.05.531-.228.636-.279a9.1,9.1,0,0,0,3.925-3.692c.071-.125.318-.607.374-.732A9.153,9.153,0,0,0,53.546,17.3c-.028-.037-.159-.185-.2-.228L42.889,5.008a3.026,3.026,0,0,1,4.564-3.975L57.914,13.1c.037.042.2.233.251.29a15.249,15.249,0,0,1,2.225,16.026c-.1.217-.51,1.019-.621,1.223a15.117,15.117,0,0,1-6.541,6.156c-.181.087-.88.4-1.062.467a15.12,15.12,0,0,1-9.137.617ZM67.374,36a3.031,3.031,0,0,1-2.285-4.488A17.151,17.151,0,0,0,63.2,12.025a3.035,3.035,0,0,1,.321-4.247l.027-.023a3.021,3.021,0,0,1,4.263.35,23.072,23.072,0,0,1,5.4,17.247,23.606,23.606,0,0,1-.415,2.659.015.015,0,0,1,0,.008,23.142,23.142,0,0,1-2.42,6.454,3.023,3.023,0,0,1-2.639,1.55A2.962,2.962,0,0,1,67.374,36ZM8.611,35.843a3.018,3.018,0,0,1-2.122-.927A23.066,23.066,0,0,1,.015,18.048a23.992,23.992,0,0,1,.247-2.68,23.185,23.185,0,0,1,2.01-6.6,3.026,3.026,0,1,1,5.455,2.619,17.128,17.128,0,0,0-1.484,4.872A17.539,17.539,0,0,0,6.06,18.25a17.05,17.05,0,0,0,4.785,12.461,3.037,3.037,0,0,1-.053,4.26L10.766,35a3.023,3.023,0,0,1-2.1.848Z" transform="translate(6.5 2.5)" fill="#fff"/>
|
||||
</g>
|
||||
</g>
|
||||
<path id="Path_155574" d="M144.031,138.31h-8.967a3.245,3.245,0,0,0-3.245,3.245v1.015a3.245,3.245,0,0,0,3.245,3.245h8.967a1.693,1.693,0,0,0,1.695-1.688h0V140a1.693,1.693,0,0,0-1.695-1.692Zm-8.456,5.937a2.188,2.188,0,1,1,2.188-2.19,2.188,2.188,0,0,1-2.188,2.19h0Z" transform="translate(-106.526 -117.432)" fill="url(#linear-gradient)"/>
|
||||
<path id="Path_155575" d="M43.36,89.989h8.2V87.542a9.232,9.232,0,0,0-9.227-9.232h-18.6A9.232,9.232,0,0,0,14.5,87.537v2.257h4.461l1.93-4.976h6.476a2,2,0,1,1-.037,1.8h-5.2L20.194,91.6H14.5v3.1h8.568a2,2,0,1,1,0,1.8H14.5v3.044h5.7l1.93,4.976h8.811a2,2,0,1,1,.037,1.8H20.892l-1.93-4.976H14.5v1.789a9.229,9.229,0,0,0,9.227,9.23h18.6a9.23,9.23,0,0,0,9.232-9.225V100h-8.2a5.006,5.006,0,0,1,0-10.012h0Z" transform="translate(-14.5 -70.367)" fill="url(#linear-gradient)"/>
|
||||
<path id="Path_155576" d="M86.1,56.8h15.995s-.216-3.314-2.738-3.674S86.1,56.8,86.1,56.8Z" transform="translate(-70.663 -50.596)" fill="url(#linear-gradient)"/>
|
||||
<path id="Path_155577" d="M62.88,47.146,74.492,43.58S73.063,41.2,71.15,41.5s-8.27,5.651-8.27,5.651Z" transform="translate(-52.45 -41.469)" fill="url(#linear-gradient)"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 114 KiB |
BIN
assets/orangeSplashScreen.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/purpleSplashScreen.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 39 KiB |
@@ -13,7 +13,6 @@ import RNSecureKeyStore, {ACCESSIBLE} from 'react-native-secure-key-store';
|
||||
import {DEFAULT_ECL} from '../shared/constants';
|
||||
import {VCMetadata} from '../shared/VCMetadata';
|
||||
|
||||
|
||||
export const QrCodeOverlay: React.FC<QrCodeOverlayProps> = props => {
|
||||
const {RNPixelpassModule} = NativeModules;
|
||||
const {t} = useTranslation('VcDetails');
|
||||
|
||||
@@ -76,17 +76,14 @@ export const VCCardView: React.FC<VCItemProps> = props => {
|
||||
/>
|
||||
);
|
||||
|
||||
const wrapTopCard = props =>
|
||||
props.isTopCard ? (
|
||||
<Copilot
|
||||
description={t('copilot:cardMessage')}
|
||||
order={6}
|
||||
title={t('copilot:cardTitle')}
|
||||
children={CardViewContent(props)}
|
||||
/>
|
||||
) : (
|
||||
CardViewContent(props)
|
||||
);
|
||||
const wrapTopCard = props => (
|
||||
<Copilot
|
||||
description={t('copilot:cardMessage')}
|
||||
order={6}
|
||||
title={t('copilot:cardTitle')}
|
||||
children={CardViewContent(props)}
|
||||
/>
|
||||
);
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
@@ -98,7 +95,7 @@ export const VCCardView: React.FC<VCItemProps> = props => {
|
||||
? Theme.Styles.selectedBindedVc
|
||||
: Theme.Styles.closeCardBgContainer
|
||||
}>
|
||||
{props.isInitialLaunch || controller.isTourGuide
|
||||
{(props.isInitialLaunch || controller.isTourGuide) && props.isTopCard
|
||||
? wrapTopCard(props)
|
||||
: CardViewContent(props)}
|
||||
</Pressable>
|
||||
|
||||
@@ -15,13 +15,13 @@ import WalletUnActivatedIcon from '../../assets/Wallet_UnActivated_Icon.svg';
|
||||
import WalletUnActivatedLargeIcon from '../../assets/Wallet_UnActivated_Large_Icon.svg';
|
||||
import InjiSmallLogo from '../../assets/Inji_Logo.svg';
|
||||
import LockIcon from '../../assets/Lock_Icon1.svg';
|
||||
import InjiLogo from '../../assets/Inji_Home_Logo1.svg';
|
||||
import InjiLogo from '../../assets/Inji_Home_Logo.svg';
|
||||
import DigitalIdentity from '../../assets/Digital_Identity_Icon1.svg';
|
||||
import ReceiveCard from '../../assets/Receive_Card.svg';
|
||||
import ReceivedCards from '../../assets/Received_Cards.svg';
|
||||
import ProgressIcon from '../../assets/Progress_Icon1.svg';
|
||||
import testIDProps from '../../shared/commonUtil';
|
||||
import Logo from '../../assets/Mosip_Logo1.svg';
|
||||
import Logo from '../../assets/Inji_Logo';
|
||||
import WarningLogo from '../../assets/Warning_Icon.svg';
|
||||
import OtpVerificationIcon from '../../assets/Otp_Verification_Icon.svg';
|
||||
import FlipCameraIcon from '../../assets/Flip_Camera_Icon.svg';
|
||||
@@ -253,11 +253,13 @@ export class SvgImage {
|
||||
);
|
||||
}
|
||||
|
||||
static InjiLogo() {
|
||||
static InjiLogo(props: LogoProps) {
|
||||
return (
|
||||
<InjiLogo
|
||||
color1={Theme.Colors.linearGradientStart}
|
||||
color2={Theme.Colors.linearGradientEnd}
|
||||
width={props.width}
|
||||
height={props.height}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -389,8 +389,12 @@ export const DefaultTheme = {
|
||||
justifyContent: 'space-between',
|
||||
},
|
||||
welcomeLogo: {
|
||||
width: 160.441,
|
||||
height: 173.276,
|
||||
width: 185,
|
||||
height: 71,
|
||||
},
|
||||
injiLogo: {
|
||||
width: 105,
|
||||
height: 40,
|
||||
},
|
||||
logo: {
|
||||
height: 35,
|
||||
|
||||
@@ -394,8 +394,12 @@ export const PurpleTheme = {
|
||||
justifyContent: 'space-between',
|
||||
},
|
||||
welcomeLogo: {
|
||||
width: 160.441,
|
||||
height: 173.276,
|
||||
width: 185,
|
||||
height: 71,
|
||||
},
|
||||
injiLogo: {
|
||||
width: 105,
|
||||
height: 40,
|
||||
},
|
||||
logo: {
|
||||
height: 35,
|
||||
|
||||
@@ -43,15 +43,7 @@ platforms:
|
||||
- platformName: android
|
||||
deviceName: OnePlus 9
|
||||
platformVersion: 11.0
|
||||
- platformName: android
|
||||
deviceName: Xiaomi Redmi Note 11
|
||||
platformVersion: 11.0
|
||||
- platformName: android
|
||||
deviceName: Samsung Galaxy S21
|
||||
platformVersion: 12.0
|
||||
- platformName: android
|
||||
deviceName: Motorola Moto G71 5G
|
||||
platformVersion: 11.0
|
||||
|
||||
|
||||
# =======================
|
||||
# Parallels per Platform
|
||||
@@ -62,7 +54,7 @@ platforms:
|
||||
# Example 1 - If you have configured 3 platforms and set `parallelsPerPlatform` as 2, a total of 6 (2 * 3) parallel threads will be used on BrowserStack
|
||||
#
|
||||
# Example 2 - If you have configured 1 platform and set `parallelsPerPlatform` as 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStack
|
||||
parallelsPerPlatform: 1
|
||||
parallelsPerPlatform: 2
|
||||
|
||||
source: java:appium-intellij:v1.1.4
|
||||
|
||||
|
||||
@@ -13,11 +13,7 @@
|
||||
</class>
|
||||
<class name="androidTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc"/>
|
||||
<include name="noPreDownloadedVCAndNoHistoryInFreshInstallation"/>
|
||||
<include name="verifyInvalidOtpMessage"/>
|
||||
<include name="activateVcFromDetailedViewPage"/>
|
||||
<include name="verifyActiveVcAndWaitForOtpTimeOut"/>
|
||||
<include name="downloadAndActiveVcUsingUinViaEsignet"/>
|
||||
</methods>
|
||||
</class>
|
||||
@@ -27,42 +23,29 @@
|
||||
<include name="languageShouldBeInNativeLanguages"/>
|
||||
<include name="verifyTuvaliVersion"/>
|
||||
<include name="changeLanguageToArabic"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuerEnterIncompleteName"/>
|
||||
<include name="changeLanguageToHindiAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToHindiAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToTamilAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToKannadAndcheckInjiTour"/>
|
||||
<include name="downloadVcAndChnageLangaugeVerifyVcViaSunbird"/>
|
||||
<include name="DownloadAndVerifyVcInArabic"/>
|
||||
<include name="changeLanguageToHindiAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToTamilAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToKannadaAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToArabicAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToFillipineAndVerifyEsignetPage"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.DeletingVcTest">
|
||||
<methods>
|
||||
<include name="deleteVcAndVerifyInHistory"/>
|
||||
<include name="cancelDeleteVc"/>
|
||||
<include name="DownloadingDeletedVc"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForEsignet"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid"/>
|
||||
<include name="goBackToGenerateUinOrVidUsingAidFromOtpVerificationPage"/>
|
||||
<include name="generateUinOrVidUsingInvalidAid"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.NoNetworkAndroidTest">
|
||||
<methods>
|
||||
<include name="setupPasscodeAndDownloadCardWithoutInternet"/>
|
||||
<include name="openCameraOnFlightMode"/>
|
||||
<include name="activateVcWithoutInternet"/>
|
||||
<include name="verifyListOfLanguagesInOfflineMode"/>
|
||||
<include name="verifyHelpPageOfflineMode"/>
|
||||
<include name="deleteDownloadedVcInOfflineMode"/>
|
||||
<include name="openQrOffline"/>
|
||||
<include name="verifyRecivedCardOffline"/>
|
||||
<include name="downloadCardWithoutInternetRetryWithInternet"/>
|
||||
<include name="downloadVcUsingUinViaEsignetWithoutInternet"/>
|
||||
@@ -71,19 +54,11 @@
|
||||
<include name="downloadVcUsingUinViaEsignetNoInternateOpenScan"/>
|
||||
<include name="downloadVcInOtherLanguageViaEsignetWithoutInternet"/>
|
||||
<include name="changeLanguageToTamilWithoutNetwork"/>
|
||||
<include name="verifyVcIssuerListWithoutNetwork"/>
|
||||
<include name="VerifyGenerateUinOrVidUsingAidHeader"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc"/>
|
||||
<include name="VerifyCameraOpenAfterPinVc"/>
|
||||
<include name="downloadVcViaEsignetAndPinUnpin"/>
|
||||
<include name="verifyMessageAfterDenyBluetoothPopup"/>
|
||||
<include name="pinVcInDetailedVcView"/>
|
||||
<include name="pinEsignetVcMultipleTimes"/>
|
||||
<include name="pinMosipVcMultipleTimes"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ReceiveCardTest">
|
||||
@@ -97,6 +72,7 @@
|
||||
<include name="noCardsAvailableToShare"/>
|
||||
<include name="verifyReceivedCardTabPresent"/>
|
||||
<include name="verifyPopupsForShareWithSelfie"/>
|
||||
<include name="rejectingCameraAccessesOnShareScreen"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.UnlockWithPasscodeTest">
|
||||
@@ -134,26 +110,6 @@
|
||||
<include name="downloadAndVerifyVcUsingUinViaSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin"/>
|
||||
<include name="downloadMultipleVcUsingDifferentUin"/>
|
||||
<include name="downloadWithEmptyUin"/>
|
||||
<include name="generateMultipleVcWithSameUin"/>
|
||||
<include name="verifyInvalidUinErrorMessage"/>
|
||||
<include name="verifyOtpTimeOutAndGoBack"/>
|
||||
<!--<include name="DownloadMultipleVcAndForceStopeAndAgainInvokeApp"/>//removed as browserStack does not support force stope and invoke -->
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid"/>
|
||||
<include name="downloadTwoVcDeleteOneUsingVid"/>
|
||||
<include name="verifyInvalidVidErrorMessage"/>
|
||||
<include name="downloadAndVerifyVcUsingRevokeVid"/>
|
||||
<!--<include name="DownloadMultipleVcAndForceStopeAndAgainInvokeAppViaVid"/> //removed as browserStack does not support force stope and invoke -->
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VerifyHelpPageTest">
|
||||
<methods>
|
||||
<include name="verifyHelpPage"/>
|
||||
@@ -161,13 +117,8 @@
|
||||
</class>
|
||||
<class name="androidTestCases.VerifyHistoryTest">
|
||||
<methods>
|
||||
<include name="downloadVcAndVerifyHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistoryFromDetailedView"/>
|
||||
<include name="activateVcAndVerifyInHistory"/>
|
||||
<include name="downloadAndVerifyHistoryUsingUinViaEsignet"/>
|
||||
<include name="downloadAndVerifyHistoryForSunbird"/>
|
||||
<include name="downloadVcAndVerifyHistoryFromMoreOptions"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VerifyWelcomePagesTest">
|
||||
@@ -181,3 +132,190 @@
|
||||
</classes>
|
||||
</test>
|
||||
</suite>
|
||||
|
||||
<!--<suite name="All Test Suite">
|
||||
<listeners>
|
||||
<listener class-name="inji.utils.SuiteListener" />
|
||||
</listeners>
|
||||
<test verbose="2" preserve-order="true" name="android">
|
||||
<classes>
|
||||
<class name="androidTestCases.AboutInjiTest">
|
||||
<methods>
|
||||
<include name="copyAppId"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc"/>
|
||||
<include name="noPreDownloadedVCAndNoHistoryInFreshInstallation"/>
|
||||
<include name="verifyInvalidOtpMessage"/>
|
||||
<include name="activateVcFromDetailedViewPage"/>
|
||||
<include name="verifyActiveVcAndWaitForOtpTimeOut"/>
|
||||
<include name="downloadAndActiveVcUsingUinViaEsignet"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ChangeLanguageTest">
|
||||
<methods>
|
||||
<include name="changeLanguage"/>
|
||||
<include name="languageShouldBeInNativeLanguages"/>
|
||||
<include name="verifyTuvaliVersion"/>
|
||||
<include name="changeLanguageToArabic"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuerEnterIncompleteName"/>
|
||||
<include name="changeLanguageToHindiAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToHindiAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToTamilAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToKannadAndcheckInjiTour"/>
|
||||
<include name="downloadVcAndChnageLangaugeVerifyVcViaSunbird"/>
|
||||
<include name="DownloadAndVerifyVcInArabic"/>
|
||||
<include name="changeLanguageToHindiAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToTamilAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToKannadaAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToArabicAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToFillipineAndVerifyEsignetPage"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.DeletingVcTest">
|
||||
<methods>
|
||||
<include name="deleteVcAndVerifyInHistory"/>
|
||||
<include name="cancelDeleteVc"/>
|
||||
<include name="DownloadingDeletedVc"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForEsignet"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid"/>
|
||||
<include name="goBackToGenerateUinOrVidUsingAidFromOtpVerificationPage"/>
|
||||
<include name="generateUinOrVidUsingInvalidAid"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.NoNetworkAndroidTest">
|
||||
<methods>
|
||||
<include name="setupPasscodeAndDownloadCardWithoutInternet"/>
|
||||
<include name="openCameraOnFlightMode"/>
|
||||
<include name="activateVcWithoutInternet"/>
|
||||
<include name="verifyListOfLanguagesInOfflineMode"/>
|
||||
<include name="verifyHelpPageOfflineMode"/>
|
||||
<include name="deleteDownloadedVcInOfflineMode"/>
|
||||
<include name="openQrOffline"/>
|
||||
<include name="verifyRecivedCardOffline"/>
|
||||
<include name="downloadCardWithoutInternetRetryWithInternet"/>
|
||||
<include name="downloadVcUsingUinViaEsignetWithoutInternet"/>
|
||||
<!–<include name="downloadVcUsingUinViaEsignetNoInternateWhileDownloading"/> //removed because download proccess is faster than the turning of the network–>
|
||||
<include name="downloadVcViaEsignetAndPinUnpinWithNoNetwork"/>
|
||||
<include name="downloadVcUsingUinViaEsignetNoInternateOpenScan"/>
|
||||
<include name="downloadVcInOtherLanguageViaEsignetWithoutInternet"/>
|
||||
<include name="changeLanguageToTamilWithoutNetwork"/>
|
||||
<include name="verifyVcIssuerListWithoutNetwork"/>
|
||||
<include name="VerifyGenerateUinOrVidUsingAidHeader"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc"/>
|
||||
<include name="VerifyCameraOpenAfterPinVc"/>
|
||||
<include name="downloadVcViaEsignetAndPinUnpin"/>
|
||||
<include name="verifyMessageAfterDenyBluetoothPopup"/>
|
||||
<include name="pinVcInDetailedVcView"/>
|
||||
<include name="pinEsignetVcMultipleTimes"/>
|
||||
<include name="pinMosipVcMultipleTimes"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ReceiveCardTest">
|
||||
<methods>
|
||||
<include name="verifyRecivedCardAndQrCode"/>
|
||||
<include name="verifyRecivedCardAndQrCodeInFilipinoLanguage"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ShareVcTest">
|
||||
<methods>
|
||||
<include name="noCardsAvailableToShare"/>
|
||||
<include name="verifyReceivedCardTabPresent"/>
|
||||
<include name="verifyPopupsForShareWithSelfie"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.UnlockWithPasscodeTest">
|
||||
<methods>
|
||||
<include name="logoutAndLoginWithPasscode"/>
|
||||
<include name="loginWithInvalidPasscode"/>
|
||||
</methods>
|
||||
</class>
|
||||
<!–<class name="androidTestCases.VcBackupAndRestoreTest">
|
||||
<methods>
|
||||
<include name="VcBackupAndRestoreTest"/>
|
||||
<include name="DenyPermissionForInji"/>
|
||||
<include name="RestoreVcTwoTimes"/>
|
||||
<include name="VcRestoreWithoutBackup"/>
|
||||
<include name="VerifyBackUpAndRestorePageInMultipleLanguge"/>
|
||||
<include name="ActiveVcAfterBackup"/>
|
||||
<include name="VerifyHelpInBackupAndRestore"/>
|
||||
<include name="VerifyDeletingDownloadedvc"/>
|
||||
<include name="VerifyDeletingRestoredvc"/>
|
||||
<include name="VerifyPiningDownloadedVc"/>
|
||||
<include name="VerifyPiningRestoredVc"/>
|
||||
</methods>
|
||||
</class>–>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingEsignetTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUinViaEsignet"/>
|
||||
<include name="downloadAndVerifyVcUsingVidViaEsignet"/>
|
||||
<!– <include name="downloadMultipleVcViaEsignet"/> invalid testcase–>
|
||||
<include name="downloadMultipleCardsAndVerifySearch"/>
|
||||
<include name="downloadCardsAndVerifySearch"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingSunbirdTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUinViaSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin"/>
|
||||
<include name="downloadMultipleVcUsingDifferentUin"/>
|
||||
<include name="downloadWithEmptyUin"/>
|
||||
<include name="generateMultipleVcWithSameUin"/>
|
||||
<include name="verifyInvalidUinErrorMessage"/>
|
||||
<include name="verifyOtpTimeOutAndGoBack"/>
|
||||
<!–<include name="DownloadMultipleVcAndForceStopeAndAgainInvokeApp"/>//removed as browserStack does not support force stope and invoke –>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid"/>
|
||||
<include name="downloadTwoVcDeleteOneUsingVid"/>
|
||||
<include name="verifyInvalidVidErrorMessage"/>
|
||||
<include name="downloadAndVerifyVcUsingRevokeVid"/>
|
||||
<!–<include name="DownloadMultipleVcAndForceStopeAndAgainInvokeAppViaVid"/> //removed as browserStack does not support force stope and invoke –>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VerifyHelpPageTest">
|
||||
<methods>
|
||||
<include name="verifyHelpPage"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VerifyHistoryTest">
|
||||
<methods>
|
||||
<include name="downloadVcAndVerifyHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistoryFromDetailedView"/>
|
||||
<include name="activateVcAndVerifyInHistory"/>
|
||||
<include name="downloadAndVerifyHistoryUsingUinViaEsignet"/>
|
||||
<include name="downloadAndVerifyHistoryForSunbird"/>
|
||||
<include name="downloadVcAndVerifyHistoryFromMoreOptions"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VerifyWelcomePagesTest">
|
||||
<methods>
|
||||
<include name="verifyWelcomePagesContent"/>
|
||||
<include name="verifyWelcomePagesFromInjiTourGuide"/>
|
||||
<include name="verifyGoBackFromInjiTourGuide"/>
|
||||
<include name="verifyClickOnBackFromInjiTourGuide"/>
|
||||
</methods>
|
||||
</class>
|
||||
</classes>
|
||||
</test>
|
||||
</suite>-->
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
||||
<suite name="All Test Suite">
|
||||
<suite name="esignetAndSunbird">
|
||||
<listeners>
|
||||
<listener class-name="inji.utils.SuiteListener" />
|
||||
</listeners>
|
||||
@@ -12,25 +12,9 @@
|
||||
<include name="loginWithInvalidPasscode" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin" />
|
||||
<include name="downloadMultipleVcUsingDifferentUin" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc" />
|
||||
<include name="downloadAndActiveVcUsingUinViaEsignet" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ChangeLanguageTest">
|
||||
@@ -40,11 +24,62 @@
|
||||
</class>
|
||||
<class name="androidTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc" />
|
||||
<include name="VerifyCameraOpenAfterPinVc" />
|
||||
<include name="downloadVcViaEsignetAndPinUnpin" />
|
||||
<include name="downloadVcViaEsignetAndPinUnpin" />
|
||||
</methods>
|
||||
</class>
|
||||
</classes>
|
||||
</test>
|
||||
</suite>
|
||||
|
||||
|
||||
<!--<suite name="All Test Suite">
|
||||
<listeners>
|
||||
<listener class-name="inji.utils.SuiteListener" />
|
||||
</listeners>
|
||||
<test verbose="2" preserve-order="true" name="android">
|
||||
<classes>
|
||||
<class name="androidTestCases.UnlockWithPasscodeTest">
|
||||
<methods>
|
||||
<include name="logoutAndLoginWithPasscode" />
|
||||
<include name="loginWithInvalidPasscode" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin" />
|
||||
<include name="downloadMultipleVcUsingDifferentUin" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.ChangeLanguageTest">
|
||||
<methods>
|
||||
<include name="changeLanguageToArabic" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="androidTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc" />
|
||||
<include name="VerifyCameraOpenAfterPinVc" />
|
||||
<include name="downloadVcViaEsignetAndPinUnpin" />
|
||||
</methods>
|
||||
</class>
|
||||
</classes>
|
||||
</test>
|
||||
</suite>-->
|
||||
|
||||
|
||||
|
||||
@@ -37,21 +37,13 @@ app: bs://0e29daf05319be0da00ca11b0acdd385cacaae78 # BrowserStack Sample App
|
||||
# Platforms object contains all the browser / device combinations you want to test on.
|
||||
# Entire list available here -> (https://www.browserstack.com/list-of-browsers-and-platforms/automate)
|
||||
platforms:
|
||||
- platformName: ios
|
||||
deviceName: iPhone 14 Pro Max
|
||||
platformVersion: 16
|
||||
- platformName: ios
|
||||
deviceName: iPhone 13 Pro
|
||||
platformVersion: 15
|
||||
- platformName: ios
|
||||
deviceName: iPhone 11
|
||||
platformVersion: 14
|
||||
- platformName: ios
|
||||
deviceName: iPhone 15 Pro
|
||||
platformVersion: 17
|
||||
- platformName: ios
|
||||
deviceName: iPhone 12 Pro Max
|
||||
platformVersion: 14
|
||||
-
|
||||
# =======================
|
||||
# Parallels per Platform
|
||||
# =======================
|
||||
@@ -61,7 +53,7 @@ platforms:
|
||||
# Example 1 - If you have configured 3 platforms and set `parallelsPerPlatform` as 2, a total of 6 (2 * 3) parallel threads will be used on BrowserStack
|
||||
#
|
||||
# Example 2 - If you have configured 1 platform and set `parallelsPerPlatform` as 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStack
|
||||
parallelsPerPlatform: 1
|
||||
parallelsPerPlatform: 2
|
||||
|
||||
source: java:appium-intellij:v1.1.4
|
||||
|
||||
|
||||
@@ -13,11 +13,7 @@
|
||||
</class>
|
||||
<class name="iosTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc"/>
|
||||
<include name="noPreDownloadedVCAndNoHistoryInFreshInstallation"/>
|
||||
<include name="verifyInvalidOtpMessage"/>
|
||||
<include name="activateVcFromDetailedViewPage"/>
|
||||
<include name="verifyActiveVcAndWaitForOtpTimeOut"/>
|
||||
<include name="downloadAndActiveVcUsingUinViaEsignet"/>
|
||||
</methods>
|
||||
</class>
|
||||
@@ -27,66 +23,47 @@
|
||||
<include name="languageShouldBeInNativeLanguages"/>
|
||||
<include name="verifyTuvaliVersion"/>
|
||||
<include name="changeLanguageToArabic"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuerEnterIncompleteName"/>
|
||||
<include name="changeLanguageToHindiAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToHindiAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToTamilAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToKannadAndcheckInjiTour"/>
|
||||
<include name="DownladvcAndVerifyInArabicAndHindiLanguage"/>
|
||||
<include name="DownloadAndVerifyVcInArabic"/>
|
||||
<include name="downloadVcAndChnageLangaugeVerifyVcViaSunbird"/>
|
||||
<include name="changeLanguageToHindiAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToTamilAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToKannadaAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToArabicAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToFillpinoAndVerifyEsignetPage"/>
|
||||
<include name="changeLanguageToKannadaToEnglishAndVerifyEsignetPage"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.DeletingVcTest">
|
||||
<methods>
|
||||
<include name="deleteVcAndVerifyInHistory"/>
|
||||
<include name="cancelDeleteVc"/>
|
||||
<include name="DownloadingDeletedVc"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForEsignet"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid"/>
|
||||
<include name="goBackToGenerateUinOrVidUsingAidFromOtpVerificationPage"/>
|
||||
<include name="generateUinOrVidUsingInvalidAid"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc"/>
|
||||
<include name="VerifyCameraOpenAfterPinVc"/>
|
||||
<include name="downloadVcViaEsignetAndPinUnpin"/>
|
||||
<include name="verifyMessageAfterDenyBluetoothPopup"/>
|
||||
<include name="pinEsignetVcMultipleTimes"/>
|
||||
<include name="pinMosipVcMultipleTimes"/>
|
||||
<include name="pinVcInDetailedVcView"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ShareVcTest">
|
||||
<methods>
|
||||
<include name="noCardsAvailableToShare"/>
|
||||
<include name="verifyReceivedCardTabPresent"/>
|
||||
<include name="rejectingCameraAccessesOnShareScreen"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.NoNetworkIosTest">
|
||||
<methods>
|
||||
<include name="setupPasscodeAndDownloadCardWithoutInternet"/>
|
||||
<include name="openCameraOnFlightMode"/>
|
||||
<include name="activateVcWithoutInternet"/>
|
||||
<include name="verifyListOfLanguagesInOfflineMode"/>
|
||||
<include name="verifyHelpPageOfflineMode"/>
|
||||
<include name="deleteDownloadedVcInOfflineMode"/>
|
||||
<include name="openQrOffline"/>
|
||||
<include name="verifyRecivedCardOffline"/>
|
||||
<include name="downloadCardWithoutInternetRetryWithInternet"/>
|
||||
<include name="verifyVcIssuerListWithoutNetwork"/>
|
||||
<include name="DownloadVcWithUinWithoutNetwork"/>
|
||||
<include name="DownloadVcWithEsignetWithoutNetwork"/>
|
||||
<include name="verifyGetUinHeaderOffline"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ShareVcTest">
|
||||
<methods>
|
||||
<include name="noCardsAvailableToShare"/>
|
||||
<include name="verifyReceivedCardTabPresent"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.UnlockWithPasscodeTest">
|
||||
@@ -109,26 +86,6 @@
|
||||
<include name="downloadAndVerifyVcUsingUinViaSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin"/>
|
||||
<include name="downloadMultipleVcUsingDifferentUin"/>
|
||||
<include name="downloadWithEmptyUin"/>
|
||||
<include name="generateMultipleVcWithSameUin"/>
|
||||
<include name="verifyInvalidUinErrorMessage"/>
|
||||
<include name="verifyOtpTimeOutAndGoBack"/>
|
||||
<include name="downloadMultipleCardsAndVerifySearch"/>
|
||||
<include name="downloadCardsAndVerifySearch"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid"/>
|
||||
<include name="downloadTwoVcDeleteOneUsingVid"/>
|
||||
<include name="verifyInvalidVidErrorMessage"/>
|
||||
<include name="downloadAndVerifyVcUsingRevokeVid"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VerifyHelpPageTest">
|
||||
<methods>
|
||||
<include name="verifyHelpPage"/>
|
||||
@@ -136,10 +93,6 @@
|
||||
</class>
|
||||
<class name="iosTestCases.VerifyHistoryTest">
|
||||
<methods>
|
||||
<include name="downloadVcAndVerifyHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistoryFromDetailedView"/>
|
||||
<include name="activateVcAndVerifyInHistory"/>
|
||||
<include name="downloadAndVerifyHistoryUsingUinViaEsignet"/>
|
||||
<include name="downloadAndVerifyHistoryUsingVidViaEsignet"/>
|
||||
<include name="downloadAndVerifyHistoryForSunbird"/>
|
||||
@@ -157,3 +110,161 @@
|
||||
</classes>
|
||||
</test>
|
||||
</suite>
|
||||
|
||||
<!--<suite name="All Test Suite">
|
||||
<!–<listeners>
|
||||
<listener class-name="inji.utils.SuiteListener" />
|
||||
</listeners>–>
|
||||
<test verbose="2" preserve-order="true" name="android">
|
||||
<classes>
|
||||
<class name="iosTestCases.AboutInjiTest">
|
||||
<methods>
|
||||
<include name="copyAppId"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc"/>
|
||||
<include name="noPreDownloadedVCAndNoHistoryInFreshInstallation"/>
|
||||
<include name="verifyInvalidOtpMessage"/>
|
||||
<include name="activateVcFromDetailedViewPage"/>
|
||||
<include name="verifyActiveVcAndWaitForOtpTimeOut"/>
|
||||
<include name="downloadAndActiveVcUsingUinViaEsignet"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ChangeLanguageTest">
|
||||
<methods>
|
||||
<include name="changeLanguage"/>
|
||||
<include name="languageShouldBeInNativeLanguages"/>
|
||||
<include name="verifyTuvaliVersion"/>
|
||||
<include name="changeLanguageToArabic"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndSearchIssuerEnterIncompleteName"/>
|
||||
<include name="changeLanguageToHindiAndSearchIssuer"/>
|
||||
<include name="changeLanguageToFilipionAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToHindiAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToTamilAndcheckInjiTour"/>
|
||||
<include name="changeLanguageToKannadAndcheckInjiTour"/>
|
||||
<include name="DownladvcAndVerifyInArabicAndHindiLanguage"/>
|
||||
<include name="DownloadAndVerifyVcInArabic"/>
|
||||
<include name="downloadVcAndChnageLangaugeVerifyVcViaSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.DeletingVcTest">
|
||||
<methods>
|
||||
<include name="deleteVcAndVerifyInHistory"/>
|
||||
<include name="cancelDeleteVc"/>
|
||||
<include name="DownloadingDeletedVc"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForEsignet"/>
|
||||
<include name="deleteVcAndVerifyInHistoryForSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid"/>
|
||||
<include name="goBackToGenerateUinOrVidUsingAidFromOtpVerificationPage"/>
|
||||
<include name="generateUinOrVidUsingInvalidAid"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc"/>
|
||||
<include name="VerifyCameraOpenAfterPinVc"/>
|
||||
<include name="downloadVcViaEsignetAndPinUnpin"/>
|
||||
<include name="verifyMessageAfterDenyBluetoothPopup"/>
|
||||
<include name="pinEsignetVcMultipleTimes"/>
|
||||
<include name="pinMosipVcMultipleTimes"/>
|
||||
<include name="pinVcInDetailedVcView"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ShareVcTest">
|
||||
<methods>
|
||||
<include name="noCardsAvailableToShare"/>
|
||||
<include name="verifyReceivedCardTabPresent"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.NoNetworkIosTest">
|
||||
<methods>
|
||||
<include name="setupPasscodeAndDownloadCardWithoutInternet"/>
|
||||
<include name="openCameraOnFlightMode"/>
|
||||
<include name="activateVcWithoutInternet"/>
|
||||
<include name="verifyListOfLanguagesInOfflineMode"/>
|
||||
<include name="verifyHelpPageOfflineMode"/>
|
||||
<include name="deleteDownloadedVcInOfflineMode"/>
|
||||
<include name="openQrOffline"/>
|
||||
<include name="verifyRecivedCardOffline"/>
|
||||
<include name="downloadCardWithoutInternetRetryWithInternet"/>
|
||||
<include name="verifyVcIssuerListWithoutNetwork"/>
|
||||
<include name="DownloadVcWithUinWithoutNetwork"/>
|
||||
<include name="DownloadVcWithEsignetWithoutNetwork"/>
|
||||
<include name="verifyGetUinHeaderOffline"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.UnlockWithPasscodeTest">
|
||||
<methods>
|
||||
<include name="logoutAndLoginWithPasscode"/>
|
||||
<include name="loginWithInvalidPasscode"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingEsignetTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUinViaEsignet"/>
|
||||
<include name="downloadAndVerifyVcUsingVidViaEsignet"/>
|
||||
<include name="denyPopupforEsignetLoginWebPage"/>
|
||||
<!– <include name="downloadMultipleVcViaEsignet"/> invalid testcase –>
|
||||
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingSunbirdTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUinViaSunbird"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin"/>
|
||||
<include name="downloadMultipleVcUsingDifferentUin"/>
|
||||
<include name="downloadWithEmptyUin"/>
|
||||
<include name="generateMultipleVcWithSameUin"/>
|
||||
<include name="verifyInvalidUinErrorMessage"/>
|
||||
<include name="verifyOtpTimeOutAndGoBack"/>
|
||||
<include name="downloadMultipleCardsAndVerifySearch"/>
|
||||
<include name="downloadCardsAndVerifySearch"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid"/>
|
||||
<include name="downloadTwoVcDeleteOneUsingVid"/>
|
||||
<include name="verifyInvalidVidErrorMessage"/>
|
||||
<include name="downloadAndVerifyVcUsingRevokeVid"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VerifyHelpPageTest">
|
||||
<methods>
|
||||
<include name="verifyHelpPage"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VerifyHistoryTest">
|
||||
<methods>
|
||||
<include name="downloadVcAndVerifyHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistory"/>
|
||||
<include name="verifyActivationFailedRecordInHistoryFromDetailedView"/>
|
||||
<include name="activateVcAndVerifyInHistory"/>
|
||||
<include name="downloadAndVerifyHistoryUsingUinViaEsignet"/>
|
||||
<include name="downloadAndVerifyHistoryUsingVidViaEsignet"/>
|
||||
<include name="downloadAndVerifyHistoryForSunbird"/>
|
||||
<include name="downloadVcAndVerifyActivityLog"/>
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VerifyWelcomePagesTest">
|
||||
<methods>
|
||||
<include name="verifyWelcomePagesContent"/>
|
||||
<include name="verifyWelcomePagesFromInjiTourGuide"/>
|
||||
<include name="verifyGoBackFromInjiTourGuide"/>
|
||||
<include name="verifyClickOnBackFromInjiTourGuide"/>
|
||||
</methods>
|
||||
</class>
|
||||
</classes>
|
||||
</test>
|
||||
</suite>-->
|
||||
|
||||
@@ -1,36 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
||||
<suite name="All Test Suite">
|
||||
<suite name="EsignetAndSunbird">
|
||||
<listeners>
|
||||
<listener class-name="inji.utils.SuiteListener" />
|
||||
</listeners>
|
||||
<test verbose="2" preserve-order="true" name="ios">
|
||||
<classes>
|
||||
<class name="iosTestCases.UnlockWithPasscodeTest">
|
||||
<class name="iosTestCases.UnlockWithPasscodeTest">
|
||||
<methods>
|
||||
<include name="logoutAndLoginWithPasscode" />
|
||||
<include name="loginWithInvalidPasscode" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingUinTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingUin" />
|
||||
<include name="downloadMultipleVcUsingDifferentUin" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.VcDownloadAndVerifyUsingVidTest">
|
||||
<methods>
|
||||
<include name="downloadAndVerifyVcUsingVid" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.GenerateUinOrVidTest">
|
||||
<methods>
|
||||
<include name="generateUinOrVidUsingAid" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ActivateVcTest">
|
||||
<methods>
|
||||
<include name="activateVc" />
|
||||
<include name="downloadAndActiveVcUsingUinViaEsignet" />
|
||||
</methods>
|
||||
</class>
|
||||
<class name="iosTestCases.ChangeLanguageTest">
|
||||
@@ -40,10 +24,58 @@
|
||||
</class>
|
||||
<class name="iosTestCases.PinVcTest">
|
||||
<methods>
|
||||
<include name="pinVc" />
|
||||
<include name="downloadVcViaEsignetAndPinUnpin" />
|
||||
</methods>
|
||||
</class>
|
||||
</classes>
|
||||
</test>
|
||||
</suite>
|
||||
</suite>
|
||||
|
||||
|
||||
<!--<suite name="All Test Suite">-->
|
||||
<!--<listeners>-->
|
||||
<!-- <listener class-name="inji.utils.SuiteListener" />-->
|
||||
<!--</listeners>-->
|
||||
<!--<test verbose="2" preserve-order="true" name="ios">-->
|
||||
<!-- <classes>-->
|
||||
<!-- <class name="iosTestCases.UnlockWithPasscodeTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="logoutAndLoginWithPasscode" />-->
|
||||
<!-- <include name="loginWithInvalidPasscode" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- <class name="iosTestCases.VcDownloadAndVerifyUsingUinTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="downloadAndVerifyVcUsingUin" />-->
|
||||
<!-- <include name="downloadMultipleVcUsingDifferentUin" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- <class name="iosTestCases.VcDownloadAndVerifyUsingVidTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="downloadAndVerifyVcUsingVid" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- <class name="iosTestCases.GenerateUinOrVidTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="generateUinOrVidUsingAid" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- <class name="iosTestCases.ActivateVcTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="activateVc" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- <class name="iosTestCases.ChangeLanguageTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="changeLanguageToArabic" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- <class name="iosTestCases.PinVcTest">-->
|
||||
<!-- <methods>-->
|
||||
<!-- <include name="pinVc" />-->
|
||||
<!-- <include name="downloadVcViaEsignetAndPinUnpin" />-->
|
||||
<!-- </methods>-->
|
||||
<!-- </class>-->
|
||||
<!-- </classes>-->
|
||||
<!--</test>-->
|
||||
<!--</suite>-->
|
||||
@@ -29,7 +29,7 @@ public class EsignetLoginPage extends BasePage {
|
||||
private WebElement enterYourVidTextHeader;
|
||||
|
||||
@AndroidFindBy(uiAutomator = "UiSelector().className(\"android.widget.EditText\").instance(0)")
|
||||
@iOSXCUITFindBy(accessibility = "Please fill in this field")
|
||||
@iOSXCUITFindBy(className = "XCUIElementTypeTextField")
|
||||
private WebElement enterIdTextBox;
|
||||
|
||||
@AndroidFindBy(xpath = "//android.widget.Button[@text=\"Get OTP\"]")
|
||||
@@ -64,17 +64,25 @@ public class EsignetLoginPage extends BasePage {
|
||||
private WebElement invalidOtpText;
|
||||
|
||||
@AndroidFindBy(uiAutomator = "UiSelector().className(\"android.widget.TextView\").instance(1)")
|
||||
@iOSXCUITFindBy(xpath = "(//XCUIElementTypeStaticText)[5]")
|
||||
private WebElement loginTextHeader;
|
||||
|
||||
@AndroidFindBy(uiAutomator = "UiSelector().className(\"android.widget.TextView\").instance(2)")
|
||||
@iOSXCUITFindBy(xpath = "(//XCUIElementTypeStaticText)[6]")
|
||||
private WebElement pleaseEnterUinHeaderText;
|
||||
|
||||
@AndroidFindBy(uiAutomator = "UiSelector().className(\"android.widget.TextView\").instance(5)")
|
||||
@iOSXCUITFindBy(xpath = "(//XCUIElementTypeStaticText)[9]")
|
||||
private WebElement dontHaveAccountText;
|
||||
|
||||
@AndroidFindBy(uiAutomator = "UiSelector().className(\"android.widget.TextView\").instance(6)")
|
||||
@iOSXCUITFindBy(xpath = "(//XCUIElementTypeStaticText)[10]")
|
||||
private WebElement signUpwithUnifiedLoginText;
|
||||
|
||||
@AndroidFindBy(accessibility = "Close tab")
|
||||
@iOSXCUITFindBy(xpath ="//XCUIElementTypeButton[@name=\"Cancel\"]")
|
||||
private WebElement CloseTab;
|
||||
|
||||
|
||||
|
||||
public EsignetLoginPage(AppiumDriver driver) {
|
||||
@@ -117,8 +125,6 @@ public class EsignetLoginPage extends BasePage {
|
||||
return new OtpVerificationPage(driver);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public boolean isEnterYourVidTextDisplayed() {
|
||||
return this.isElementDisplayed(enterYourVidTextHeader);
|
||||
}
|
||||
@@ -151,18 +157,34 @@ public class EsignetLoginPage extends BasePage {
|
||||
case "English":
|
||||
boolean isEnglishMatch = (actualText.equalsIgnoreCase("Please fill in this field")==true) ? true : false;
|
||||
return isEnglishMatch ;
|
||||
case "EnglishIos":
|
||||
boolean isEnglishMatchIos = (actualText.equalsIgnoreCase("Enter Your UIN or VID")==true) ? true : false;
|
||||
return isEnglishMatchIos ;
|
||||
case "Tamil":
|
||||
boolean isTamilMatch = (actualText.equalsIgnoreCase("இந்த புலத்தை நிரப்பவும்")==true) ? true : false;
|
||||
return isTamilMatch ;
|
||||
case "TamilIos":
|
||||
boolean isTamilMatchIos = (actualText.equalsIgnoreCase("உங்கள் UIN அல்லது VID ஐ உள்ளிடவும்")==true) ? true : false;
|
||||
System.out.println(actualText);
|
||||
return isTamilMatchIos;
|
||||
case "Kannada":
|
||||
boolean isKannadaMatch = (actualText.equalsIgnoreCase("ದಯವಿಟ್ಟು ಈ ಕ್ಷೇತ್ರವನ್ನು ಭರ್ತಿ ಮಾಡಿ")==true) ? true : false;
|
||||
return isKannadaMatch ;
|
||||
case "KannadaIos":
|
||||
boolean isKannadaMatchIos = (actualText.equalsIgnoreCase("ನಿಮ್ಮ UIN ಅಥವಾ VID ನಮೂದಿಸಿ")==true) ? true : false;
|
||||
return isKannadaMatchIos ;
|
||||
case "Hindi":
|
||||
boolean isHindiMatch = (actualText.equalsIgnoreCase("कृपया इस क्षेत्र को भरें")==true) ? true : false;
|
||||
return isHindiMatch ;
|
||||
case "HindiIos":
|
||||
boolean isHindiMatchIos = (actualText.equalsIgnoreCase("अपना यूआईएन या वीआईडी \u200B\u200Bदर्ज करें")==true) ? true : false;
|
||||
return isHindiMatchIos ;
|
||||
case "Arabic":
|
||||
boolean isArabicMatch = (actualText.equalsIgnoreCase("يرجى ملء هذا الحقل")==true) ? true : false;
|
||||
return isArabicMatch ;
|
||||
case "ArabicIos":
|
||||
boolean isArabicMatchIos = (actualText.equalsIgnoreCase("أدخل رقم UIN أو VID الخاص بك")==true) ? true : false;
|
||||
return isArabicMatchIos ;
|
||||
|
||||
}
|
||||
return false;
|
||||
@@ -182,10 +204,13 @@ public class EsignetLoginPage extends BasePage {
|
||||
boolean isKannadaMatch = (actualText.equalsIgnoreCase("ಇಸಿಗ್ನೆಟ್ ಮೂಲಕ ಲಾಗಿನ್ ಮಾಡಿ")==true) ? true : false;
|
||||
return isKannadaMatch ;
|
||||
case "Hindi":
|
||||
boolean isHindiMatch = (actualText.equalsIgnoreCase("कृपया इस क्षेत्र को भरें")==true) ? true : false;
|
||||
boolean isHindiMatch = (actualText.equalsIgnoreCase("ईसिग्नेट से लॉगिन करें")==true) ? true : false;
|
||||
return isHindiMatch ;
|
||||
case "HindiIos":
|
||||
boolean isHindiMatchIos = (actualText.equalsIgnoreCase("ईसिग्नेट से लॉगिन करें")==true) ? true : false;
|
||||
return isHindiMatchIos ;
|
||||
case "Arabic":
|
||||
boolean isArabicMatch = (actualText.equalsIgnoreCase("يرجى ملء هذا الحقل")==true) ? true : false;
|
||||
boolean isArabicMatch = (actualText.equalsIgnoreCase("تسجيل الدخول باستخدام eSignet")==true) ? true : false;
|
||||
return isArabicMatch ;
|
||||
}
|
||||
return false;
|
||||
@@ -201,14 +226,20 @@ public class EsignetLoginPage extends BasePage {
|
||||
case "Tamil":
|
||||
boolean isTamilMatch = (actualText.equalsIgnoreCase("உங்கள் UIN/VIDஐ உள்ளிடவும்")==true) ? true : false;
|
||||
return isTamilMatch ;
|
||||
case "TamilIos":
|
||||
boolean isTamilMatchIos = (actualText.equalsIgnoreCase("உங்கள் UIN/VIDஐ உள்ளிடவும்")==true) ? true : false;
|
||||
return isTamilMatchIos ;
|
||||
case "Kannada":
|
||||
boolean isKannadaMatch = (actualText.equalsIgnoreCase("ದಯವಿಟ್ಟು ನಿಮ್ಮ UIN/VID ಅನ್ನು ನಮೂದಿಸಿ")==true) ? true : false;
|
||||
return isKannadaMatch ;
|
||||
case "Hindi":
|
||||
boolean isHindiMatch = (actualText.equalsIgnoreCase("कृपया अपना यूआईएन/वीआईडी \u200B\u200Bदर्ज करें")==true) ? true : false;
|
||||
return isHindiMatch ;
|
||||
case "HindiIos":
|
||||
boolean isHindiMatchIos = (actualText.equalsIgnoreCase("अपना यूआईएन या वीआईडी \u200B\u200Bदर्ज करें")==true) ? true : false;
|
||||
return isHindiMatchIos ;
|
||||
case "Arabic":
|
||||
boolean isArabicMatch = (actualText.equalsIgnoreCase("يرجى ملء هذا الحقل")==true) ? true : false;
|
||||
boolean isArabicMatch = (actualText.equalsIgnoreCase("الرجاء إدخال UIN/VID الخاص بك")==true) ? true : false;
|
||||
return isArabicMatch ;
|
||||
}
|
||||
return false;
|
||||
@@ -259,4 +290,13 @@ public class EsignetLoginPage extends BasePage {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void clickOnCloseButton() {
|
||||
clickOnElement(CloseTab);
|
||||
}
|
||||
|
||||
public String getText(){
|
||||
System.out.println(getTextFromLocator(enterIdTextBox));
|
||||
return getTextFromLocator(enterIdTextBox);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,9 @@ public class MoreOptionsPage extends BasePage {
|
||||
}
|
||||
|
||||
public HomePage clickOnCloseButton() {
|
||||
clickOnElement(closeButton);
|
||||
if(isElementDisplayed(closeButton)) {
|
||||
clickOnElement(closeButton);
|
||||
}
|
||||
return new HomePage(driver);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,10 @@ public class SettingsPage extends BasePage {
|
||||
@AndroidFindBy(accessibility = "fil")
|
||||
@iOSXCUITFindBy(accessibility = "fil")
|
||||
private WebElement filipinoLanguageButton;
|
||||
|
||||
@AndroidFindBy(accessibility = "en")
|
||||
@iOSXCUITFindBy(accessibility = "en")
|
||||
private WebElement englishLanguageButton;
|
||||
|
||||
@AndroidFindBy(accessibility = "hi")
|
||||
@iOSXCUITFindBy(accessibility = "hi")
|
||||
@@ -119,7 +123,9 @@ public class SettingsPage extends BasePage {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public void clickOnEnglishLanguage() {
|
||||
clickOnElement(englishLanguageButton);
|
||||
}
|
||||
|
||||
public void clickOnFilipinoLanguage() {
|
||||
clickOnElement(filipinoLanguageButton);
|
||||
|
||||
@@ -69,6 +69,22 @@ public class SharePage extends BasePage {
|
||||
@AndroidFindBy(xpath = "//android.widget.TextView[@resource-id=\"close\"]")
|
||||
private WebElement closePopupButton;
|
||||
|
||||
@AndroidFindBy(xpath = "//android.widget.Button[@resource-id=\"com.android.permissioncontroller:id/permission_deny_button\"]")
|
||||
@iOSXCUITFindBy(accessibility = "Don’t Allow")
|
||||
private WebElement cameraDontAllAccessPopup;
|
||||
|
||||
@AndroidFindBy(accessibility = "holdPhoneSteadyMessage")
|
||||
@iOSXCUITFindBy(accessibility = "cameraAccessDisabled")
|
||||
private WebElement CameraDisabledToaster;
|
||||
|
||||
@AndroidFindBy(xpath = "//android.widget.TextView[@resource-id=\"close\"]")
|
||||
@iOSXCUITFindBy(accessibility = "close")
|
||||
private WebElement CameraDisabledToasterClose;
|
||||
|
||||
@AndroidFindBy(accessibility = "sharingStatusTitle")
|
||||
@iOSXCUITFindBy(accessibility = "sharingStatusTitle")
|
||||
private WebElement CameraAccessLostPage;
|
||||
|
||||
|
||||
public SharePage(AppiumDriver driver) {
|
||||
super(driver);
|
||||
@@ -170,4 +186,21 @@ public class SharePage extends BasePage {
|
||||
clickOnElement(gallaryAccessPopup);
|
||||
}
|
||||
|
||||
public boolean isCameraDisabledToasterLoaded() {
|
||||
return isElementDisplayed(CameraDisabledToaster);
|
||||
}
|
||||
|
||||
public void clickOnCameraDisabledToasterClose(){
|
||||
if(isElementDisplayed(CameraDisabledToasterClose))
|
||||
clickOnElement(CameraDisabledToasterClose);
|
||||
}
|
||||
|
||||
public void clickOnDontAllowCameraAccessButton(){
|
||||
if(isElementDisplayed(cameraDontAllAccessPopup))
|
||||
clickOnElement(cameraDontAllAccessPopup);
|
||||
}
|
||||
|
||||
public boolean isCameraAccessLostPageLoaded() {
|
||||
return isElementDisplayed(CameraAccessLostPage);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -257,10 +257,9 @@ public class ActivateVcTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
// assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
addNewCardPage.sendTextInIssuerSearchBar("Download MOSIP Credentials");
|
||||
// addNewCardPage.sendTextInIssuerSearchBar("Download MOSIP Credentials");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageGuideMessageForEsignetDisplayed(), "Verify if add new card guide message displayed");
|
||||
assertTrue(addNewCardPage.isDownloadViaEsignetDisplayed(), "Verify if download via uin displayed");
|
||||
|
||||
@@ -506,7 +506,6 @@ public class ChangeLanguageTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
//addNewCardPage.sendTextInIssuerSearchBar("Download Sunbird Credentials");
|
||||
@@ -599,4 +598,268 @@ public class ChangeLanguageTest extends AndroidBaseTest {
|
||||
assertEquals(homePage.GetActivationPendingHeaderText(), "التنشيط معلق لتسجيل الدخول عبر الإنترنت!");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToHindiAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnHindiLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyHindiLanguage(), "Verify if language is changed to hindi");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
assertEquals(homePage.verifyLanguageForNoVCDownloadedPageLoaded(),"अपनी डिजिटल आईडी लाओ");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertEquals(addNewCardPage.verifyLanguageForAddNewCardGuideMessage(),"नया कार्ड जोड़ने के लिए कृपया नीचे दिए गए विकल्पों में से अपना पसंदीदा जारीकर्ता चुनें।");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayedInHindi(),"verify if search bar is displayed in hindi");
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Hindi"),"verify if enter uin or vid text hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Hindi"),"verify login text in hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Hindi"),"verify if enter uin/vid header in hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Hindi"),"verify if dont have account text in hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Hindi"),"verify if signup with unified login hindi");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToTamilAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnTamilLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyTamilLanguage(), "Verify if language is changed to tamil");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Tamil"),"verify if search bar is displayed in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Tamil"),"verify if search bar is displayed in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Tamil"),"verify if search bar is displayed in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Tamil"),"verify if search bar is displayed in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Tamil"),"verify if search bar is displayed in tamil");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToKannadaAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnKannadaLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyKannadaLanguage(), "Verify if language is changed to Kannada");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToArabicAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnArabicLanguageButton();
|
||||
|
||||
UnlockApplicationPage unlockApplicationPage = new UnlockApplicationPage(driver);
|
||||
assertTrue(unlockApplicationPage.isUnlockApplicationPageLoadedInArabic(), "Verify if language is changed to arabic");
|
||||
unlockApplicationPage.clickOnUnlockApplicationButton();
|
||||
setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
homePage.clickOnHomeButton();
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Arabic"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Arabic"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Arabic"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Arabic"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Arabic"),"verify if search bar is displayed in Kannada");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToFillipineAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnKannadaLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyKannadaLanguage(), "Verify if language is changed to Kannada");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
|
||||
esignetLoginPage.clickOnCloseButton();
|
||||
addNewCardPage.clickOnBack();
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
|
||||
homePage.clickOnSettingIcon();
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnFilipinoLanguage();
|
||||
|
||||
homePage.clickOnHomeButton();
|
||||
homePage.downloadCard();
|
||||
addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageFromKannadaToEnglishAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnKannadaLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyKannadaLanguage(), "Verify if language is changed to Kannada");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
|
||||
esignetLoginPage.clickOnCloseButton();
|
||||
addNewCardPage.clickOnBack();
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
|
||||
homePage.clickOnSettingIcon();
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnEnglishLanguage();
|
||||
|
||||
homePage.clickOnHomeButton();
|
||||
homePage.downloadCard();
|
||||
addNewCardPage.clickOnDownloadViaEsignet();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("English"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("English"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("English"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("English"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("English"),"verify if search bar is displayed in Kannada");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -197,10 +197,9 @@ public class DeletingVcTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
// assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
addNewCardPage.sendTextInIssuerSearchBar("Download MOSIP Credentials");
|
||||
// addNewCardPage.sendTextInIssuerSearchBar("Download MOSIP Credentials");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageGuideMessageForEsignetDisplayed(), "Verify if add new card guide message displayed");
|
||||
assertTrue(addNewCardPage.isDownloadViaEsignetDisplayed(), "Verify if download via uin displayed");
|
||||
@@ -261,7 +260,6 @@ public class DeletingVcTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
|
||||
@@ -111,4 +111,56 @@ public class ShareVcTest extends AndroidBaseTest {
|
||||
assertTrue(SharePage.isFlipCameraClickable(),"Verify if flip camera is enabled");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void rejectingCameraAccessesOnShareScreen() throws InterruptedException {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.ANDROID);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
|
||||
esignetLoginPage.clickOnEsignetLoginWithOtpButton();
|
||||
|
||||
assertTrue(esignetLoginPage.isEnterYourVidTextDisplayed(), "Verify if enter your vid text is displayed");
|
||||
String uin=TestDataReader.readData("uin");
|
||||
OtpVerificationPage otpVerification= esignetLoginPage.setEnterIdTextBox(uin);
|
||||
|
||||
esignetLoginPage.clickOnGetOtpButton();
|
||||
assertTrue(esignetLoginPage.isOtpHasSendMessageDisplayed(),"verify if otp page is displayed");
|
||||
|
||||
otpVerification.enterOtpForEsignet(TestDataReader.readData("otp"), Target.ANDROID);
|
||||
esignetLoginPage.clickOnVerifyButton();
|
||||
|
||||
assertTrue(homePage.isNameDisplayed(TestDataReader.readData("fullName")), "Verify if full name is displayed");
|
||||
|
||||
SharePage SharePage = homePage.clickOnShareButton();
|
||||
|
||||
SharePage.clickOnAllowLocationPopupButton();
|
||||
SharePage.acceptPermissionPopupBluetooth();
|
||||
|
||||
SharePage.clickOnDontAllowCameraAccessButton();
|
||||
|
||||
assertTrue(SharePage.isCameraDisabledToasterLoaded(), "Verify camera disabled toaster displayed");
|
||||
SharePage.clickOnCameraDisabledToasterClose();
|
||||
assertTrue(SharePage.isCameraAccessLostPageLoaded(), "Verify Proper error message is shown");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -34,10 +34,9 @@ public class VcDownloadAndVerifyUsingEsignetTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
addNewCardPage.sendTextInIssuerSearchBar("Download MOSIP Credentials");
|
||||
// addNewCardPage.sendTextInIssuerSearchBar("Download MOSIP Credentials");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageGuideMessageForEsignetDisplayed(), "Verify if add new card guide message displayed");
|
||||
assertTrue(addNewCardPage.isDownloadViaEsignetDisplayed(), "Verify if download via uin displayed");
|
||||
|
||||
@@ -33,7 +33,6 @@ public class VcDownloadAndVerifyUsingSunbirdTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
|
||||
@@ -372,7 +372,6 @@ public class VerifyHistoryTest extends AndroidBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
|
||||
@@ -163,7 +163,7 @@ public class ChangeLanguageTest extends IosBaseTest {
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayedInFilipino(),"verify if search bar is displayed in filipino");
|
||||
addNewCardPage.sendTextInIssuerSearchBar("I-download ang Mga Kredensyal ng MOSIP ");
|
||||
|
||||
assertTrue(addNewCardPage.isDownloadViaUinDisplayed(),"verify if download via uin vid aid");
|
||||
// assertTrue(addNewCardPage.isDownloadViaUinDisplayed(),"verify if download via uin vid aid");
|
||||
addNewCardPage.clickOnBack();
|
||||
|
||||
homePage.downloadCard();
|
||||
@@ -630,6 +630,294 @@ public class ChangeLanguageTest extends IosBaseTest {
|
||||
assertEquals(sunbirdLoginPage.getStatusValueForSunbirdCard(),"वैध");
|
||||
assertTrue(sunbirdLoginPage.isPolicyExpiresOnValueDisplayed(), "Verify if policy expireson value displayed");
|
||||
assertTrue(sunbirdLoginPage.isbenefitsValueDisplayed(), "Verify if policy expireson value displayed");
|
||||
assertEquals(sunbirdLoginPage.getIdTypeValueForSunbirdCard(),TestDataReader.readData("idTypeSunbird"));
|
||||
assertEquals(sunbirdLoginPage.getIdTypeValueForSunbirdCard(),TestDataReader.readData("idTypeSunbirdHindi"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToHindiAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnHindiLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyHindiLanguage(), "Verify if language is changed to hindi");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
assertEquals(homePage.verifyLanguageForNoVCDownloadedPageLoaded(),"अपनी डिजिटल आईडी लाओ");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertEquals(addNewCardPage.verifyLanguageForAddNewCardGuideMessage(),"नया कार्ड जोड़ने के लिए कृपया नीचे दिए गए विकल्पों में से अपना पसंदीदा जारीकर्ता चुनें।");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayedInHindi(),"verify if search bar is displayed in hindi");
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("HindiIos"),"verify if enter uin or vid text hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("HindiIos"),"verify login text in hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Hindi"),"verify if enter uin/vid header in hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Hindi"),"verify if dont have account text in hindi");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Hindi"),"verify if signup with unified login hindi");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToTamilAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnTamilLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyTamilLanguage(), "Verify if language is changed to tamil");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
// assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("TamilIos"),"verify if enter uin or vid text tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Tamil"),"verify login text in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Tamil"),"verify if enter uin/vid header in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Tamil"),"verify if dont have account text in tamil");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Tamil"),"verify if signup with unified login tamil");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToKannadaAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnKannadaLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyKannadaLanguage(), "Verify if language is changed to kannada");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("KannadaIos"),"verify if enter uin or vid text kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify login text in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if enter uin/vid header in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if dont have account text in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if signup with unified login kannada");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToArabicAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnArabicLanguageButton();
|
||||
|
||||
// assertTrue(settingsPage.(), "Verify if language is changed to Arabic");
|
||||
UnlockApplicationPage unlockApplicationPage = new UnlockApplicationPage(driver);
|
||||
assertTrue(unlockApplicationPage.isUnlockApplicationPageLoadedInArabic(), "Verify if language is changed to arabic");
|
||||
unlockApplicationPage.clickOnUnlockApplicationButton();
|
||||
setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("ArabicIos"),"verify if enter uin or vid text Arabic");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Arabic"),"verify login text in Arabic");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Arabic"),"verify if enter uin/vid header in Arabic");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Arabic"),"verify if dont have account text in Arabic");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Arabic"),"verify if signup with unified login Arabic");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToFillpinoAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnKannadaLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyKannadaLanguage(), "Verify if language is changed to kannada");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("KannadaIos"),"verify if enter uin or vid text kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify login text in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if enter uin/vid header in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if dont have account text in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if signup with unified login kannada");
|
||||
|
||||
esignetLoginPage.clickOnCloseButton();
|
||||
addNewCardPage.clickOnBack();
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
|
||||
homePage.clickOnSettingIcon();
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnFilipinoLanguage();
|
||||
|
||||
homePage.clickOnHomeButton();
|
||||
homePage.downloadCard();
|
||||
addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("KannadaIos"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if search bar is displayed in Kannada");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void changeLanguageToKannadaToEnglishAndVerifyEsignetPage() {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
SettingsPage settingsPage = homePage.clickOnSettingIcon();
|
||||
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnKannadaLanguage();
|
||||
|
||||
assertTrue(settingsPage.verifyKannadaLanguage(), "Verify if language is changed to kannada");
|
||||
homePage.clickOnHomeButton();
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("KannadaIos"),"verify if enter uin or vid text kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("Kannada"),"verify login text in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("Kannada"),"verify if enter uin/vid header in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("Kannada"),"verify if dont have account text in kannada");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("Kannada"),"verify if signup with unified login kannada");
|
||||
|
||||
esignetLoginPage.clickOnCloseButton();
|
||||
addNewCardPage.clickOnBack();
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
|
||||
homePage.clickOnSettingIcon();
|
||||
assertTrue(settingsPage.isSettingPageLoaded(), "Verify if setting page is displayed");
|
||||
settingsPage.clickOnLanguage().clickOnEnglishLanguage();
|
||||
|
||||
homePage.clickOnHomeButton();
|
||||
homePage.downloadCard();
|
||||
addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
assertTrue(esignetLoginPage.verifyLanguageEnterUinOrVidBoxTextDisplayed("EnglishIos"),"verify if search bar is displayed in english");
|
||||
assertTrue(esignetLoginPage.verifyLanguageLoginHeaderTextDisplayed("English"),"verify if search bar is displayed in english");
|
||||
assertTrue(esignetLoginPage.verifyLanguagePleaseEnterUinHeaderTextDisplayed("English"),"verify if search bar is displayed in english");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForDontHaveAccountTextDisplayed("English"),"verify if search bar is displayed in english");
|
||||
assertTrue(esignetLoginPage.verifyLanguageForSignUpwithUnifiedLoginTextDisplayed("English"),"verify if search bar is displayed in english");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ public class NoNetworkIosTest extends IosBaseTest {
|
||||
addNewCardPage.clickOnBack();
|
||||
|
||||
homePage.downloadCard();
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
// assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
|
||||
addNewCardPage.clickOnDownloadViaUin();
|
||||
@@ -394,7 +394,7 @@ public class NoNetworkIosTest extends IosBaseTest {
|
||||
addNewCardPage.clickOnBack();
|
||||
|
||||
homePage.downloadCard();
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
// assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
|
||||
addNewCardPage.clickOnDownloadViaEsignet();
|
||||
|
||||
@@ -62,4 +62,53 @@ public class ShareVcTest extends IosBaseTest {
|
||||
assertTrue(settingsPage.isReceivedCardsPresent(), "Verify if received cards tab is displayed");
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void rejectingCameraAccessesOnShareScreen() throws InterruptedException {
|
||||
ChooseLanguagePage chooseLanguagePage = new ChooseLanguagePage(driver);
|
||||
|
||||
assertTrue(chooseLanguagePage.isChooseLanguagePageLoaded(), "Verify if choose language page is displayed");
|
||||
WelcomePage welcomePage = chooseLanguagePage.clickOnSavePreference();
|
||||
|
||||
assertTrue(welcomePage.isWelcomePageLoaded(), "Verify if welcome page is loaded");
|
||||
AppUnlockMethodPage appUnlockMethodPage = welcomePage.clickOnSkipButton();
|
||||
|
||||
assertTrue(appUnlockMethodPage.isAppUnlockMethodPageLoaded(), "Verify if app unlocked page is displayed");
|
||||
SetPasscode setPasscode = appUnlockMethodPage.clickOnUsePasscode();
|
||||
|
||||
assertTrue(setPasscode.isSetPassCodePageLoaded(), "Verify if set passcode page is displayed");
|
||||
ConfirmPasscode confirmPasscode = setPasscode.enterPasscode(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(confirmPasscode.isConfirmPassCodePageLoaded(), "Verify if confirm passcode page is displayed");
|
||||
HomePage homePage = confirmPasscode.enterPasscodeInConfirmPasscodePage(TestDataReader.readData("passcode"), Target.IOS);
|
||||
|
||||
assertTrue(homePage.isHomePageLoaded(), "Verify if home page is displayed");
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
addNewCardPage.clickOnContinueButtonInSigninPopupIos();
|
||||
|
||||
esignetLoginPage.clickOnEsignetLoginWithOtpButton();
|
||||
Thread.sleep(9000);
|
||||
String uin = TestDataReader.readData("uin");
|
||||
OtpVerificationPage otpVerification= esignetLoginPage.setEnterIdTextBox(uin);
|
||||
|
||||
esignetLoginPage.clickOnGetOtpButton();
|
||||
|
||||
otpVerification.enterOtpForEsignet(TestDataReader.readData("otp"), Target.IOS);
|
||||
esignetLoginPage.clickOnVerifyButtonIos();
|
||||
|
||||
assertTrue(homePage.isNameDisplayed(TestDataReader.readData("fullName")), "Verify if full name is displayed");
|
||||
|
||||
SharePage SharePage = homePage.clickOnShareButton();
|
||||
|
||||
SharePage.acceptPermissionPopupBluetooth();
|
||||
SharePage.clickOnDontAllowCameraAccessButton();
|
||||
|
||||
assertTrue(SharePage.isCameraDisabledToasterLoaded(), "Verify camera disabled toaster displayed");
|
||||
SharePage.clickOnCameraDisabledToasterClose();
|
||||
assertTrue(SharePage.isCameraAccessLostPageLoaded(), "Verify Proper error message is shown");
|
||||
}
|
||||
}
|
||||
@@ -171,7 +171,7 @@ public class VcDownloadAndVerifyUsingEsignetTest extends IosBaseTest {
|
||||
AddNewCardPage addNewCardPage = homePage.downloadCard();
|
||||
|
||||
assertTrue(addNewCardPage.isAddNewCardPageLoaded(), "Verify if add new card page is displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
// assertTrue(addNewCardPage.isIssuerDescriptionMosipDisplayed(), "Verify if issuer description mosip displayed");
|
||||
assertTrue(addNewCardPage.isIssuerDescriptionEsignetDisplayed(), "Verify if issuer description esignet displayed");
|
||||
assertTrue(addNewCardPage.isIssuerSearchBarDisplayed(), "Verify if issuer search bar displayed");
|
||||
EsignetLoginPage esignetLoginPage = addNewCardPage.clickOnDownloadViaEsignet();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "expo"
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "expo"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "splash.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "splash@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "splash@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 89 KiB |
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "image.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "expo"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 68 B |
@@ -61,10 +61,6 @@ PODS:
|
||||
- ReactCommon/turbomodule/core
|
||||
- ExpoWebBrowser (12.5.0):
|
||||
- ExpoModulesCore
|
||||
- EXSplashScreen (0.22.0):
|
||||
- ExpoModulesCore
|
||||
- RCT-Folly (= 2021.07.22.00)
|
||||
- React-Core
|
||||
- EXStructuredHeaders (3.3.0)
|
||||
- EXUpdates (0.18.17):
|
||||
- ASN1Decoder (~> 1.8)
|
||||
@@ -556,7 +552,6 @@ DEPENDENCIES:
|
||||
- ExpoLocalization (from `../node_modules/expo-localization/ios`)
|
||||
- ExpoModulesCore (from `../node_modules/expo-modules-core`)
|
||||
- ExpoWebBrowser (from `../node_modules/expo-web-browser/ios`)
|
||||
- EXSplashScreen (from `../node_modules/expo-splash-screen/ios`)
|
||||
- EXStructuredHeaders (from `../node_modules/expo-structured-headers/ios`)
|
||||
- EXUpdates (from `../node_modules/expo-updates/ios`)
|
||||
- EXUpdatesInterface (from `../node_modules/expo-updates-interface/ios`)
|
||||
@@ -692,8 +687,6 @@ EXTERNAL SOURCES:
|
||||
:path: "../node_modules/expo-modules-core"
|
||||
ExpoWebBrowser:
|
||||
:path: "../node_modules/expo-web-browser/ios"
|
||||
EXSplashScreen:
|
||||
:path: "../node_modules/expo-splash-screen/ios"
|
||||
EXStructuredHeaders:
|
||||
:path: "../node_modules/expo-structured-headers/ios"
|
||||
EXUpdates:
|
||||
@@ -855,7 +848,6 @@ SPEC CHECKSUMS:
|
||||
ExpoLocalization: f26cd431ad9ea3533c5b08c4fabd879176a794bb
|
||||
ExpoModulesCore: f0581cd745335dd7a68117f6fedd22b98e2c73f0
|
||||
ExpoWebBrowser: b6e56949734089d75f758f21cfe93fad02bd828c
|
||||
EXSplashScreen: 5ed09ea490155ef603d007d9f194c9e04a4b7980
|
||||
EXStructuredHeaders: 324cc3130571d2696357fafd8be7fd9a0b5fdf6e
|
||||
EXUpdates: 8f03b362414e8f9f0998f8a6d6c9fc00f2a9d2f2
|
||||
EXUpdatesInterface: 82ed48d417cdcd376c12ca1c2ce390d35500bed6
|
||||
|
||||
@@ -29,7 +29,7 @@ import {ActivityLogEvents} from '../../activityLog';
|
||||
import {StoreEvents} from '../../store';
|
||||
import tuvali from '@mosip/tuvali';
|
||||
import BluetoothStateManager from 'react-native-bluetooth-state-manager';
|
||||
import { NativeModules } from 'react-native';
|
||||
import {NativeModules} from 'react-native';
|
||||
|
||||
const {wallet, EventTypes, VerificationStatus} = tuvali;
|
||||
export const ScanActions = (model: any, QR_LOGIN_REF_ID: any) => {
|
||||
@@ -229,7 +229,9 @@ export const ScanActions = (model: any, QR_LOGIN_REF_ID: any) => {
|
||||
}),
|
||||
setQuickShareData: assign({
|
||||
quickShareData: (_, event) =>
|
||||
JSON.parse(RNPixelpassModule.decode(event.params.split(DEFAULT_QR_HEADER)[1])),
|
||||
JSON.parse(
|
||||
RNPixelpassModule.decode(event.params.split(DEFAULT_QR_HEADER)[1]),
|
||||
),
|
||||
}),
|
||||
loadMetaDataToMemory: send(
|
||||
(context: any) => {
|
||||
|
||||
@@ -1,121 +1,310 @@
|
||||
// This file was automatically generated. Edits will be overwritten
|
||||
|
||||
// This file was automatically generated. Edits will be overwritten
|
||||
|
||||
export interface Typegen0 {
|
||||
'@@xstate/typegen': true;
|
||||
internalEvents: {
|
||||
"": { type: "" };
|
||||
"done.invoke.QrLogin": { type: "done.invoke.QrLogin"; data: unknown; __tip: "See the XState TS docs to learn how to strongly type this." };
|
||||
"done.invoke.scan.checkStorage:invocation[0]": { type: "done.invoke.scan.checkStorage:invocation[0]"; data: unknown; __tip: "See the XState TS docs to learn how to strongly type this." };
|
||||
"xstate.after(DESTROY_TIMEOUT)#scan.clearingConnection": { type: "xstate.after(DESTROY_TIMEOUT)#scan.clearingConnection" };
|
||||
"xstate.init": { type: "xstate.init" };
|
||||
};
|
||||
invokeSrcNameMap: {
|
||||
"checkBluetoothPermission": "done.invoke.scan.checkBluetoothPermission.checking:invocation[0]";
|
||||
"checkBluetoothState": "done.invoke.scan.checkBluetoothState.checking:invocation[0]" | "done.invoke.scan.recheckBluetoothState.checking:invocation[0]";
|
||||
"checkLocationPermission": "done.invoke.scan.checkingLocationState.checkingPermissionStatus:invocation[0]";
|
||||
"checkLocationStatus": "done.invoke.scan.checkingLocationState.checkLocationService:invocation[0]";
|
||||
"checkNearByDevicesPermission": "done.invoke.scan.checkNearbyDevicesPermission.checking:invocation[0]";
|
||||
"checkStorageAvailability": "done.invoke.scan.checkStorage:invocation[0]";
|
||||
"disconnect": "done.invoke.scan.clearingConnection:invocation[0]" | "done.invoke.scan.disconnectDevice:invocation[0]" | "done.invoke.scan.reviewing.disconnect:invocation[0]";
|
||||
"monitorConnection": "done.invoke.scan:invocation[0]";
|
||||
"requestBluetooth": "done.invoke.scan.checkBluetoothState.requesting:invocation[0]";
|
||||
"requestNearByDevicesPermission": "done.invoke.scan.checkNearbyDevicesPermission.requesting:invocation[0]";
|
||||
"requestToEnableLocationPermission": "done.invoke.scan.checkingLocationState.requestToEnableLocation:invocation[0]";
|
||||
"sendVc": "done.invoke.scan.reviewing.sendingVc:invocation[0]";
|
||||
"startConnection": "done.invoke.scan.connecting:invocation[0]";
|
||||
};
|
||||
missingImplementations: {
|
||||
actions: "clearUri" | "enableLocation" | "getFaceAuthConsent" | "loadMetaDataToMemory" | "loadVCDataToMemory" | "logFailedVerification" | "logShared" | "openAppPermission" | "openBluetoothSettings" | "refreshVCs" | "registerLoggers" | "removeLoggers" | "resetFaceCaptureBannerStatus" | "resetFlowType" | "resetSelectedVc" | "resetShowQuickShareSuccessBanner" | "sendBLEConnectionErrorEvent" | "sendScanData" | "sendVCShareFlowCancelEndEvent" | "sendVCShareFlowTimeoutEndEvent" | "sendVcShareSuccessEvent" | "sendVcSharingStartEvent" | "setBleError" | "setChildRef" | "setFlowType" | "setLinkCode" | "setQuickShareData" | "setReadyForBluetoothStateCheck" | "setReceiverInfo" | "setSelectedVc" | "setSenderInfo" | "setShareLogTypeUnverified" | "setShareLogTypeVerified" | "setShowFaceAuthConsent" | "setShowQuickShareSuccessBanner" | "setUri" | "storeLoginItem" | "storeShowFaceAuthConsent" | "storingActivityLog" | "updateFaceCaptureBannerStatus" | "updateShowFaceAuthConsent";
|
||||
delays: never;
|
||||
guards: "isFlowTypeMiniViewShare" | "isFlowTypeMiniViewShareWithSelfie" | "isFlowTypeSimpleShare" | "isIOS" | "isMinimumStorageRequiredForAuditEntryReached" | "isOpenIdQr" | "isQrLogin" | "isQuickShare" | "showFaceAuthConsentScreen" | "uptoAndroid11";
|
||||
services: "checkBluetoothPermission" | "checkBluetoothState" | "checkLocationPermission" | "checkLocationStatus" | "checkNearByDevicesPermission" | "checkStorageAvailability" | "disconnect" | "monitorConnection" | "requestBluetooth" | "requestNearByDevicesPermission" | "requestToEnableLocationPermission" | "sendVc" | "startConnection";
|
||||
};
|
||||
eventsCausingActions: {
|
||||
"clearUri": "STORE_RESPONSE";
|
||||
"enableLocation": "ALLOWED" | "LOCATION_REQUEST";
|
||||
"getFaceAuthConsent": "DISCONNECT" | "DISMISS" | "xstate.after(DESTROY_TIMEOUT)#scan.clearingConnection";
|
||||
"loadMetaDataToMemory": "SCAN";
|
||||
"loadVCDataToMemory": "STORE_RESPONSE";
|
||||
"logFailedVerification": "FACE_INVALID";
|
||||
"logShared": "VC_ACCEPTED";
|
||||
"openAppPermission": "GOTO_SETTINGS" | "LOCATION_REQUEST";
|
||||
"openBluetoothSettings": "GOTO_SETTINGS";
|
||||
"refreshVCs": "STORE_RESPONSE";
|
||||
"registerLoggers": "STORE_RESPONSE";
|
||||
"removeLoggers": "DISCONNECT" | "DISMISS" | "DISMISS_QUICK_SHARE_BANNER" | "RESET" | "SCREEN_BLUR" | "STORE_RESPONSE" | "xstate.init";
|
||||
"resetFaceCaptureBannerStatus": "ACCEPT_REQUEST" | "CLOSE_BANNER";
|
||||
"resetFlowType": "DISCONNECT" | "DISMISS" | "DISMISS_QUICK_SHARE_BANNER" | "GOTO_HISTORY" | "RESET" | "SCREEN_BLUR" | "xstate.init";
|
||||
"resetSelectedVc": "DISCONNECT" | "DISMISS" | "DISMISS_QUICK_SHARE_BANNER" | "GOTO_HISTORY" | "RESET" | "SCREEN_BLUR" | "xstate.init";
|
||||
"resetShowQuickShareSuccessBanner": "DISMISS" | "DISMISS_QUICK_SHARE_BANNER";
|
||||
"sendBLEConnectionErrorEvent": "BLE_ERROR";
|
||||
"sendScanData": "SCAN";
|
||||
"sendVCShareFlowCancelEndEvent": "CANCEL";
|
||||
"sendVCShareFlowTimeoutEndEvent": "CANCEL" | "RETRY";
|
||||
"sendVcShareSuccessEvent": "VC_ACCEPTED";
|
||||
"sendVcSharingStartEvent": "SCAN";
|
||||
"setBleError": "BLE_ERROR";
|
||||
"setChildRef": "STORE_RESPONSE";
|
||||
"setFlowType": "SELECT_VC";
|
||||
"setLinkCode": "SCAN";
|
||||
"setQuickShareData": "SCAN";
|
||||
"setReadyForBluetoothStateCheck": "BLUETOOTH_PERMISSION_ENABLED";
|
||||
"setReceiverInfo": "CONNECTED";
|
||||
"setSelectedVc": "SELECT_VC";
|
||||
"setSenderInfo": "CONNECTED";
|
||||
"setShareLogTypeUnverified": "ACCEPT_REQUEST" | "CHECK_FLOW_TYPE";
|
||||
"setShareLogTypeVerified": "FACE_VALID";
|
||||
"setShowFaceAuthConsent": "FACE_VERIFICATION_CONSENT";
|
||||
"setShowQuickShareSuccessBanner": "STORE_RESPONSE";
|
||||
"setUri": "SCAN";
|
||||
"storeLoginItem": "done.invoke.QrLogin";
|
||||
"storeShowFaceAuthConsent": "FACE_VERIFICATION_CONSENT";
|
||||
"storingActivityLog": "STORE_RESPONSE";
|
||||
"updateFaceCaptureBannerStatus": "FACE_VALID";
|
||||
"updateShowFaceAuthConsent": "STORE_RESPONSE";
|
||||
};
|
||||
eventsCausingDelays: {
|
||||
"CONNECTION_TIMEOUT": "SCAN";
|
||||
"DESTROY_TIMEOUT": "" | "DISMISS" | "LOCATION_ENABLED" | "RETRY";
|
||||
"SHARING_TIMEOUT": "ACCEPT_REQUEST" | "CHECK_FLOW_TYPE" | "FACE_VALID";
|
||||
};
|
||||
eventsCausingGuards: {
|
||||
"isFlowTypeMiniViewShare": "CHECK_FLOW_TYPE";
|
||||
"isFlowTypeMiniViewShareWithSelfie": "CHECK_FLOW_TYPE" | "DISMISS";
|
||||
"isFlowTypeSimpleShare": "CANCEL" | "CHECK_FLOW_TYPE" | "DISMISS";
|
||||
"isIOS": "BLUETOOTH_STATE_DISABLED" | "START_PERMISSION_CHECK";
|
||||
"isMinimumStorageRequiredForAuditEntryReached": "done.invoke.scan.checkStorage:invocation[0]";
|
||||
"isOpenIdQr": "SCAN";
|
||||
"isQrLogin": "SCAN";
|
||||
"isQuickShare": "SCAN";
|
||||
"showFaceAuthConsentScreen": "" | "VERIFY_AND_ACCEPT_REQUEST";
|
||||
"uptoAndroid11": "" | "START_PERMISSION_CHECK";
|
||||
};
|
||||
eventsCausingServices: {
|
||||
"QrLogin": "SCAN";
|
||||
"checkBluetoothPermission": "" | "BLUETOOTH_STATE_DISABLED" | "NEARBY_ENABLED" | "START_PERMISSION_CHECK";
|
||||
"checkBluetoothState": "" | "APP_ACTIVE";
|
||||
"checkLocationPermission": "LOCATION_ENABLED";
|
||||
"checkLocationStatus": "" | "APP_ACTIVE" | "LOCATION_REQUEST";
|
||||
"checkNearByDevicesPermission": "APP_ACTIVE" | "START_PERMISSION_CHECK";
|
||||
"checkStorageAvailability": "RESET" | "SCREEN_FOCUS" | "SELECT_VC";
|
||||
"disconnect": "" | "DISMISS" | "LOCATION_ENABLED" | "RETRY" | "SCREEN_BLUR";
|
||||
"monitorConnection": "DISMISS" | "SCREEN_BLUR" | "xstate.init";
|
||||
"requestBluetooth": "BLUETOOTH_STATE_DISABLED";
|
||||
"requestNearByDevicesPermission": "NEARBY_DISABLED";
|
||||
"requestToEnableLocationPermission": "LOCATION_DISABLED";
|
||||
"sendVc": "ACCEPT_REQUEST" | "CHECK_FLOW_TYPE" | "FACE_VALID";
|
||||
"startConnection": "SCAN";
|
||||
};
|
||||
matchesStates: "bluetoothDenied" | "bluetoothPermissionDenied" | "checkBluetoothPermission" | "checkBluetoothPermission.checking" | "checkBluetoothPermission.enabled" | "checkBluetoothState" | "checkBluetoothState.checking" | "checkBluetoothState.enabled" | "checkBluetoothState.requesting" | "checkFaceAuthConsent" | "checkNearbyDevicesPermission" | "checkNearbyDevicesPermission.checking" | "checkNearbyDevicesPermission.enabled" | "checkNearbyDevicesPermission.requesting" | "checkStorage" | "checkingLocationState" | "checkingLocationState.LocationPermissionRationale" | "checkingLocationState.checkLocationService" | "checkingLocationState.checkingPermissionStatus" | "checkingLocationState.denied" | "checkingLocationState.disabled" | "checkingLocationState.requestToEnableLocation" | "clearingConnection" | "connecting" | "connecting.inProgress" | "connecting.timeout" | "decodeQuickShareData" | "disconnectDevice" | "disconnected" | "findingConnection" | "handlingBleError" | "inactive" | "invalid" | "loadVCS" | "loadVCS.idle" | "loadVCS.navigatingToHome" | "nearByDevicesPermissionDenied" | "recheckBluetoothState" | "recheckBluetoothState.checking" | "recheckBluetoothState.enabled" | "restrictSharingVc" | "reviewing" | "reviewing.accepted" | "reviewing.cancelling" | "reviewing.checkFaceAuthConsentForMiniView" | "reviewing.disconnect" | "reviewing.faceVerificationConsent" | "reviewing.idle" | "reviewing.invalidIdentity" | "reviewing.navigateToHistory" | "reviewing.rejected" | "reviewing.selectingVc" | "reviewing.sendingVc" | "reviewing.sendingVc.inProgress" | "reviewing.sendingVc.sent" | "reviewing.sendingVc.timeout" | "reviewing.verifyingIdentity" | "showQrLogin" | "showQrLogin.idle" | "showQrLogin.navigatingToHistory" | "showQrLogin.storing" | "startPermissionCheck" | { "checkBluetoothPermission"?: "checking" | "enabled";
|
||||
"checkBluetoothState"?: "checking" | "enabled" | "requesting";
|
||||
"checkNearbyDevicesPermission"?: "checking" | "enabled" | "requesting";
|
||||
"checkingLocationState"?: "LocationPermissionRationale" | "checkLocationService" | "checkingPermissionStatus" | "denied" | "disabled" | "requestToEnableLocation";
|
||||
"connecting"?: "inProgress" | "timeout";
|
||||
"loadVCS"?: "idle" | "navigatingToHome";
|
||||
"recheckBluetoothState"?: "checking" | "enabled";
|
||||
"reviewing"?: "accepted" | "cancelling" | "checkFaceAuthConsentForMiniView" | "disconnect" | "faceVerificationConsent" | "idle" | "invalidIdentity" | "navigateToHistory" | "rejected" | "selectingVc" | "sendingVc" | "verifyingIdentity" | { "sendingVc"?: "inProgress" | "sent" | "timeout"; };
|
||||
"showQrLogin"?: "idle" | "navigatingToHistory" | "storing"; };
|
||||
tags: never;
|
||||
}
|
||||
|
||||
export interface Typegen0 {
|
||||
'@@xstate/typegen': true;
|
||||
internalEvents: {
|
||||
'': {type: ''};
|
||||
'done.invoke.QrLogin': {
|
||||
type: 'done.invoke.QrLogin';
|
||||
data: unknown;
|
||||
__tip: 'See the XState TS docs to learn how to strongly type this.';
|
||||
};
|
||||
'done.invoke.scan.checkStorage:invocation[0]': {
|
||||
type: 'done.invoke.scan.checkStorage:invocation[0]';
|
||||
data: unknown;
|
||||
__tip: 'See the XState TS docs to learn how to strongly type this.';
|
||||
};
|
||||
'xstate.after(DESTROY_TIMEOUT)#scan.clearingConnection': {
|
||||
type: 'xstate.after(DESTROY_TIMEOUT)#scan.clearingConnection';
|
||||
};
|
||||
'xstate.init': {type: 'xstate.init'};
|
||||
};
|
||||
invokeSrcNameMap: {
|
||||
checkBluetoothPermission: 'done.invoke.scan.checkBluetoothPermission.checking:invocation[0]';
|
||||
checkBluetoothState:
|
||||
| 'done.invoke.scan.checkBluetoothState.checking:invocation[0]'
|
||||
| 'done.invoke.scan.recheckBluetoothState.checking:invocation[0]';
|
||||
checkLocationPermission: 'done.invoke.scan.checkingLocationState.checkingPermissionStatus:invocation[0]';
|
||||
checkLocationStatus: 'done.invoke.scan.checkingLocationState.checkLocationService:invocation[0]';
|
||||
checkNearByDevicesPermission: 'done.invoke.scan.checkNearbyDevicesPermission.checking:invocation[0]';
|
||||
checkStorageAvailability: 'done.invoke.scan.checkStorage:invocation[0]';
|
||||
disconnect:
|
||||
| 'done.invoke.scan.clearingConnection:invocation[0]'
|
||||
| 'done.invoke.scan.disconnectDevice:invocation[0]'
|
||||
| 'done.invoke.scan.reviewing.disconnect:invocation[0]';
|
||||
monitorConnection: 'done.invoke.scan:invocation[0]';
|
||||
requestBluetooth: 'done.invoke.scan.checkBluetoothState.requesting:invocation[0]';
|
||||
requestNearByDevicesPermission: 'done.invoke.scan.checkNearbyDevicesPermission.requesting:invocation[0]';
|
||||
requestToEnableLocationPermission: 'done.invoke.scan.checkingLocationState.requestToEnableLocation:invocation[0]';
|
||||
sendVc: 'done.invoke.scan.reviewing.sendingVc:invocation[0]';
|
||||
startConnection: 'done.invoke.scan.connecting:invocation[0]';
|
||||
};
|
||||
missingImplementations: {
|
||||
actions:
|
||||
| 'clearUri'
|
||||
| 'enableLocation'
|
||||
| 'getFaceAuthConsent'
|
||||
| 'loadMetaDataToMemory'
|
||||
| 'loadVCDataToMemory'
|
||||
| 'logFailedVerification'
|
||||
| 'logShared'
|
||||
| 'openAppPermission'
|
||||
| 'openBluetoothSettings'
|
||||
| 'refreshVCs'
|
||||
| 'registerLoggers'
|
||||
| 'removeLoggers'
|
||||
| 'resetFaceCaptureBannerStatus'
|
||||
| 'resetFlowType'
|
||||
| 'resetSelectedVc'
|
||||
| 'resetShowQuickShareSuccessBanner'
|
||||
| 'sendBLEConnectionErrorEvent'
|
||||
| 'sendScanData'
|
||||
| 'sendVCShareFlowCancelEndEvent'
|
||||
| 'sendVCShareFlowTimeoutEndEvent'
|
||||
| 'sendVcShareSuccessEvent'
|
||||
| 'sendVcSharingStartEvent'
|
||||
| 'setBleError'
|
||||
| 'setChildRef'
|
||||
| 'setFlowType'
|
||||
| 'setLinkCode'
|
||||
| 'setQuickShareData'
|
||||
| 'setReadyForBluetoothStateCheck'
|
||||
| 'setReceiverInfo'
|
||||
| 'setSelectedVc'
|
||||
| 'setSenderInfo'
|
||||
| 'setShareLogTypeUnverified'
|
||||
| 'setShareLogTypeVerified'
|
||||
| 'setShowFaceAuthConsent'
|
||||
| 'setShowQuickShareSuccessBanner'
|
||||
| 'setUri'
|
||||
| 'storeLoginItem'
|
||||
| 'storeShowFaceAuthConsent'
|
||||
| 'storingActivityLog'
|
||||
| 'updateFaceCaptureBannerStatus'
|
||||
| 'updateShowFaceAuthConsent';
|
||||
delays: never;
|
||||
guards:
|
||||
| 'isFlowTypeMiniViewShare'
|
||||
| 'isFlowTypeMiniViewShareWithSelfie'
|
||||
| 'isFlowTypeSimpleShare'
|
||||
| 'isIOS'
|
||||
| 'isMinimumStorageRequiredForAuditEntryReached'
|
||||
| 'isOpenIdQr'
|
||||
| 'isQrLogin'
|
||||
| 'isQuickShare'
|
||||
| 'showFaceAuthConsentScreen'
|
||||
| 'uptoAndroid11';
|
||||
services:
|
||||
| 'checkBluetoothPermission'
|
||||
| 'checkBluetoothState'
|
||||
| 'checkLocationPermission'
|
||||
| 'checkLocationStatus'
|
||||
| 'checkNearByDevicesPermission'
|
||||
| 'checkStorageAvailability'
|
||||
| 'disconnect'
|
||||
| 'monitorConnection'
|
||||
| 'requestBluetooth'
|
||||
| 'requestNearByDevicesPermission'
|
||||
| 'requestToEnableLocationPermission'
|
||||
| 'sendVc'
|
||||
| 'startConnection';
|
||||
};
|
||||
eventsCausingActions: {
|
||||
clearUri: 'STORE_RESPONSE';
|
||||
enableLocation: 'ALLOWED' | 'LOCATION_REQUEST';
|
||||
getFaceAuthConsent:
|
||||
| 'DISCONNECT'
|
||||
| 'DISMISS'
|
||||
| 'xstate.after(DESTROY_TIMEOUT)#scan.clearingConnection';
|
||||
loadMetaDataToMemory: 'SCAN';
|
||||
loadVCDataToMemory: 'STORE_RESPONSE';
|
||||
logFailedVerification: 'FACE_INVALID';
|
||||
logShared: 'VC_ACCEPTED';
|
||||
openAppPermission: 'GOTO_SETTINGS' | 'LOCATION_REQUEST';
|
||||
openBluetoothSettings: 'GOTO_SETTINGS';
|
||||
refreshVCs: 'STORE_RESPONSE';
|
||||
registerLoggers: 'STORE_RESPONSE';
|
||||
removeLoggers:
|
||||
| 'DISCONNECT'
|
||||
| 'DISMISS'
|
||||
| 'DISMISS_QUICK_SHARE_BANNER'
|
||||
| 'RESET'
|
||||
| 'SCREEN_BLUR'
|
||||
| 'STORE_RESPONSE'
|
||||
| 'xstate.init';
|
||||
resetFaceCaptureBannerStatus: 'ACCEPT_REQUEST' | 'CLOSE_BANNER';
|
||||
resetFlowType:
|
||||
| 'DISCONNECT'
|
||||
| 'DISMISS'
|
||||
| 'DISMISS_QUICK_SHARE_BANNER'
|
||||
| 'GOTO_HISTORY'
|
||||
| 'RESET'
|
||||
| 'SCREEN_BLUR'
|
||||
| 'xstate.init';
|
||||
resetSelectedVc:
|
||||
| 'DISCONNECT'
|
||||
| 'DISMISS'
|
||||
| 'DISMISS_QUICK_SHARE_BANNER'
|
||||
| 'GOTO_HISTORY'
|
||||
| 'RESET'
|
||||
| 'SCREEN_BLUR'
|
||||
| 'xstate.init';
|
||||
resetShowQuickShareSuccessBanner: 'DISMISS' | 'DISMISS_QUICK_SHARE_BANNER';
|
||||
sendBLEConnectionErrorEvent: 'BLE_ERROR';
|
||||
sendScanData: 'SCAN';
|
||||
sendVCShareFlowCancelEndEvent: 'CANCEL';
|
||||
sendVCShareFlowTimeoutEndEvent: 'CANCEL' | 'RETRY';
|
||||
sendVcShareSuccessEvent: 'VC_ACCEPTED';
|
||||
sendVcSharingStartEvent: 'SCAN';
|
||||
setBleError: 'BLE_ERROR';
|
||||
setChildRef: 'STORE_RESPONSE';
|
||||
setFlowType: 'SELECT_VC';
|
||||
setLinkCode: 'SCAN';
|
||||
setQuickShareData: 'SCAN';
|
||||
setReadyForBluetoothStateCheck: 'BLUETOOTH_PERMISSION_ENABLED';
|
||||
setReceiverInfo: 'CONNECTED';
|
||||
setSelectedVc: 'SELECT_VC';
|
||||
setSenderInfo: 'CONNECTED';
|
||||
setShareLogTypeUnverified: 'ACCEPT_REQUEST' | 'CHECK_FLOW_TYPE';
|
||||
setShareLogTypeVerified: 'FACE_VALID';
|
||||
setShowFaceAuthConsent: 'FACE_VERIFICATION_CONSENT';
|
||||
setShowQuickShareSuccessBanner: 'STORE_RESPONSE';
|
||||
setUri: 'SCAN';
|
||||
storeLoginItem: 'done.invoke.QrLogin';
|
||||
storeShowFaceAuthConsent: 'FACE_VERIFICATION_CONSENT';
|
||||
storingActivityLog: 'STORE_RESPONSE';
|
||||
updateFaceCaptureBannerStatus: 'FACE_VALID';
|
||||
updateShowFaceAuthConsent: 'STORE_RESPONSE';
|
||||
};
|
||||
eventsCausingDelays: {
|
||||
CONNECTION_TIMEOUT: 'SCAN';
|
||||
DESTROY_TIMEOUT: '' | 'DISMISS' | 'LOCATION_ENABLED' | 'RETRY';
|
||||
SHARING_TIMEOUT: 'ACCEPT_REQUEST' | 'CHECK_FLOW_TYPE' | 'FACE_VALID';
|
||||
};
|
||||
eventsCausingGuards: {
|
||||
isFlowTypeMiniViewShare: 'CHECK_FLOW_TYPE';
|
||||
isFlowTypeMiniViewShareWithSelfie: 'CHECK_FLOW_TYPE' | 'DISMISS';
|
||||
isFlowTypeSimpleShare: 'CANCEL' | 'CHECK_FLOW_TYPE' | 'DISMISS';
|
||||
isIOS: 'BLUETOOTH_STATE_DISABLED' | 'START_PERMISSION_CHECK';
|
||||
isMinimumStorageRequiredForAuditEntryReached: 'done.invoke.scan.checkStorage:invocation[0]';
|
||||
isOpenIdQr: 'SCAN';
|
||||
isQrLogin: 'SCAN';
|
||||
isQuickShare: 'SCAN';
|
||||
showFaceAuthConsentScreen: '' | 'VERIFY_AND_ACCEPT_REQUEST';
|
||||
uptoAndroid11: '' | 'START_PERMISSION_CHECK';
|
||||
};
|
||||
eventsCausingServices: {
|
||||
QrLogin: 'SCAN';
|
||||
checkBluetoothPermission:
|
||||
| ''
|
||||
| 'BLUETOOTH_STATE_DISABLED'
|
||||
| 'NEARBY_ENABLED'
|
||||
| 'START_PERMISSION_CHECK';
|
||||
checkBluetoothState: '' | 'APP_ACTIVE';
|
||||
checkLocationPermission: 'LOCATION_ENABLED';
|
||||
checkLocationStatus: '' | 'APP_ACTIVE' | 'LOCATION_REQUEST';
|
||||
checkNearByDevicesPermission: 'APP_ACTIVE' | 'START_PERMISSION_CHECK';
|
||||
checkStorageAvailability: 'RESET' | 'SCREEN_FOCUS' | 'SELECT_VC';
|
||||
disconnect: '' | 'DISMISS' | 'LOCATION_ENABLED' | 'RETRY' | 'SCREEN_BLUR';
|
||||
monitorConnection: 'DISMISS' | 'SCREEN_BLUR' | 'xstate.init';
|
||||
requestBluetooth: 'BLUETOOTH_STATE_DISABLED';
|
||||
requestNearByDevicesPermission: 'NEARBY_DISABLED';
|
||||
requestToEnableLocationPermission: 'LOCATION_DISABLED';
|
||||
sendVc: 'ACCEPT_REQUEST' | 'CHECK_FLOW_TYPE' | 'FACE_VALID';
|
||||
startConnection: 'SCAN';
|
||||
};
|
||||
matchesStates:
|
||||
| 'bluetoothDenied'
|
||||
| 'bluetoothPermissionDenied'
|
||||
| 'checkBluetoothPermission'
|
||||
| 'checkBluetoothPermission.checking'
|
||||
| 'checkBluetoothPermission.enabled'
|
||||
| 'checkBluetoothState'
|
||||
| 'checkBluetoothState.checking'
|
||||
| 'checkBluetoothState.enabled'
|
||||
| 'checkBluetoothState.requesting'
|
||||
| 'checkFaceAuthConsent'
|
||||
| 'checkNearbyDevicesPermission'
|
||||
| 'checkNearbyDevicesPermission.checking'
|
||||
| 'checkNearbyDevicesPermission.enabled'
|
||||
| 'checkNearbyDevicesPermission.requesting'
|
||||
| 'checkStorage'
|
||||
| 'checkingLocationState'
|
||||
| 'checkingLocationState.LocationPermissionRationale'
|
||||
| 'checkingLocationState.checkLocationService'
|
||||
| 'checkingLocationState.checkingPermissionStatus'
|
||||
| 'checkingLocationState.denied'
|
||||
| 'checkingLocationState.disabled'
|
||||
| 'checkingLocationState.requestToEnableLocation'
|
||||
| 'clearingConnection'
|
||||
| 'connecting'
|
||||
| 'connecting.inProgress'
|
||||
| 'connecting.timeout'
|
||||
| 'decodeQuickShareData'
|
||||
| 'disconnectDevice'
|
||||
| 'disconnected'
|
||||
| 'findingConnection'
|
||||
| 'handlingBleError'
|
||||
| 'inactive'
|
||||
| 'invalid'
|
||||
| 'loadVCS'
|
||||
| 'loadVCS.idle'
|
||||
| 'loadVCS.navigatingToHome'
|
||||
| 'nearByDevicesPermissionDenied'
|
||||
| 'recheckBluetoothState'
|
||||
| 'recheckBluetoothState.checking'
|
||||
| 'recheckBluetoothState.enabled'
|
||||
| 'restrictSharingVc'
|
||||
| 'reviewing'
|
||||
| 'reviewing.accepted'
|
||||
| 'reviewing.cancelling'
|
||||
| 'reviewing.checkFaceAuthConsentForMiniView'
|
||||
| 'reviewing.disconnect'
|
||||
| 'reviewing.faceVerificationConsent'
|
||||
| 'reviewing.idle'
|
||||
| 'reviewing.invalidIdentity'
|
||||
| 'reviewing.navigateToHistory'
|
||||
| 'reviewing.rejected'
|
||||
| 'reviewing.selectingVc'
|
||||
| 'reviewing.sendingVc'
|
||||
| 'reviewing.sendingVc.inProgress'
|
||||
| 'reviewing.sendingVc.sent'
|
||||
| 'reviewing.sendingVc.timeout'
|
||||
| 'reviewing.verifyingIdentity'
|
||||
| 'showQrLogin'
|
||||
| 'showQrLogin.idle'
|
||||
| 'showQrLogin.navigatingToHistory'
|
||||
| 'showQrLogin.storing'
|
||||
| 'startPermissionCheck'
|
||||
| {
|
||||
checkBluetoothPermission?: 'checking' | 'enabled';
|
||||
checkBluetoothState?: 'checking' | 'enabled' | 'requesting';
|
||||
checkNearbyDevicesPermission?: 'checking' | 'enabled' | 'requesting';
|
||||
checkingLocationState?:
|
||||
| 'LocationPermissionRationale'
|
||||
| 'checkLocationService'
|
||||
| 'checkingPermissionStatus'
|
||||
| 'denied'
|
||||
| 'disabled'
|
||||
| 'requestToEnableLocation';
|
||||
connecting?: 'inProgress' | 'timeout';
|
||||
loadVCS?: 'idle' | 'navigatingToHome';
|
||||
recheckBluetoothState?: 'checking' | 'enabled';
|
||||
reviewing?:
|
||||
| 'accepted'
|
||||
| 'cancelling'
|
||||
| 'checkFaceAuthConsentForMiniView'
|
||||
| 'disconnect'
|
||||
| 'faceVerificationConsent'
|
||||
| 'idle'
|
||||
| 'invalidIdentity'
|
||||
| 'navigateToHistory'
|
||||
| 'rejected'
|
||||
| 'selectingVc'
|
||||
| 'sendingVc'
|
||||
| 'verifyingIdentity'
|
||||
| {sendingVc?: 'inProgress' | 'sent' | 'timeout'};
|
||||
showQrLogin?: 'idle' | 'navigatingToHistory' | 'storing';
|
||||
};
|
||||
tags: never;
|
||||
}
|
||||
|
||||
374
package-lock.json
generated
@@ -41,7 +41,6 @@
|
||||
"expo-local-authentication": "~13.3.0",
|
||||
"expo-localization": "~14.1.1",
|
||||
"expo-modules-autolinking": "~1.5.0",
|
||||
"expo-splash-screen": "^0.22.0",
|
||||
"expo-updates": "^0.18.17",
|
||||
"expo-web-browser": "^12.5.0",
|
||||
"i18next": "^21.6.16",
|
||||
@@ -14362,210 +14361,6 @@
|
||||
"expo": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen": {
|
||||
"version": "0.22.0",
|
||||
"resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-0.22.0.tgz",
|
||||
"integrity": "sha512-+iKesrtp8s3IQDXPgCwI6PZzQwhSGR/LLND1wOux8HrCmtveJQpomKBIdvwTb26GNKZiN1EtiQbnBZhn3EiKaA==",
|
||||
"dependencies": {
|
||||
"@expo/prebuild-config": "6.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"expo": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/@babel/code-frame": {
|
||||
"version": "7.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
|
||||
"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
|
||||
"dependencies": {
|
||||
"@babel/highlight": "^7.10.4"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/@expo/config": {
|
||||
"version": "8.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config/-/config-8.3.1.tgz",
|
||||
"integrity": "sha512-5fNGAw5h/MDOc8Ulv9nonafPtOT042B7dF6vrVxSP3CY5qiVu0tCsmbL412wEcrAZ8MY7UMv9e6IzpGTgleYgg==",
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "~7.10.4",
|
||||
"@expo/config-plugins": "~7.5.0",
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/json-file": "^8.2.37",
|
||||
"getenv": "^1.0.0",
|
||||
"glob": "7.1.6",
|
||||
"require-from-string": "^2.0.2",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "7.5.3",
|
||||
"slugify": "^1.3.4",
|
||||
"sucrase": "^3.20.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/@expo/config-plugins": {
|
||||
"version": "7.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-7.4.0.tgz",
|
||||
"integrity": "sha512-/BwYRl6QQ9ZKYpVaIqHE5sSPqNZI9CUtfLfYHhpnShQUA1KHRMi6y9zjb3IXJisk0/fcrtRm2yP3A7F0l304sQ==",
|
||||
"dependencies": {
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/json-file": "~8.2.37",
|
||||
"@expo/plist": "^0.0.20",
|
||||
"@expo/sdk-runtime-versions": "^1.0.0",
|
||||
"@react-native/normalize-color": "^2.0.0",
|
||||
"chalk": "^4.1.2",
|
||||
"debug": "^4.3.1",
|
||||
"find-up": "~5.0.0",
|
||||
"getenv": "^1.0.0",
|
||||
"glob": "7.1.6",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "^7.5.3",
|
||||
"slash": "^3.0.0",
|
||||
"xcode": "^3.0.1",
|
||||
"xml2js": "0.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/@expo/config-types": {
|
||||
"version": "50.0.0-alpha.2",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-50.0.0-alpha.2.tgz",
|
||||
"integrity": "sha512-eAUMUg4wnw0bYovs+isibq4l9ssMacS/r0NolDxDdIX/N+ZjIEZ5DEl5GO8dnD0dKbN/DPWwUln7SG/nSYHfmw=="
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/@expo/config/node_modules/@expo/config-plugins": {
|
||||
"version": "7.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-7.5.0.tgz",
|
||||
"integrity": "sha512-qOKjmgbddLh1vj9ytUT6AduhEans2cHgS42nopVgh5Wz8X+QUvPcCr1Yc8MvLM3OlbswBMCJceeosZa463i0uA==",
|
||||
"dependencies": {
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/fingerprint": "^0.2.0",
|
||||
"@expo/json-file": "~8.2.37",
|
||||
"@expo/plist": "^0.0.20",
|
||||
"@expo/sdk-runtime-versions": "^1.0.0",
|
||||
"@react-native/normalize-color": "^2.0.0",
|
||||
"chalk": "^4.1.2",
|
||||
"debug": "^4.3.1",
|
||||
"find-up": "~5.0.0",
|
||||
"getenv": "^1.0.0",
|
||||
"glob": "7.1.6",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "^7.5.3",
|
||||
"slash": "^3.0.0",
|
||||
"xcode": "^3.0.1",
|
||||
"xml2js": "0.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/@expo/prebuild-config": {
|
||||
"version": "6.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-6.4.0.tgz",
|
||||
"integrity": "sha512-RjKK7rd2H9P1pTcAcZFUd9tpxCwFNyyrlTdHZWlvZvZnBJWIyUZex7P3q7db7KLJ6UrVPmlM+B7OSc0Mxs4uoQ==",
|
||||
"dependencies": {
|
||||
"@expo/config": "~8.3.0",
|
||||
"@expo/config-plugins": "~7.4.0",
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/image-utils": "0.3.22",
|
||||
"@expo/json-file": "^8.2.37",
|
||||
"debug": "^4.3.1",
|
||||
"fs-extra": "^9.0.0",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "7.5.3",
|
||||
"xml2js": "0.6.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"expo-modules-autolinking": ">=0.8.1"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"dependencies": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/chalk?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/glob": {
|
||||
"version": "7.1.6",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
||||
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
|
||||
"dependencies": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/semver": {
|
||||
"version": "7.5.3",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",
|
||||
"integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==",
|
||||
"dependencies": {
|
||||
"lru-cache": "^6.0.0"
|
||||
},
|
||||
"bin": {
|
||||
"semver": "bin/semver.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen/node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-structured-headers": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/expo-structured-headers/-/expo-structured-headers-3.3.0.tgz",
|
||||
@@ -40302,175 +40097,6 @@
|
||||
"base64-js": "^1.3.0"
|
||||
}
|
||||
},
|
||||
"expo-splash-screen": {
|
||||
"version": "0.22.0",
|
||||
"resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-0.22.0.tgz",
|
||||
"integrity": "sha512-+iKesrtp8s3IQDXPgCwI6PZzQwhSGR/LLND1wOux8HrCmtveJQpomKBIdvwTb26GNKZiN1EtiQbnBZhn3EiKaA==",
|
||||
"requires": {
|
||||
"@expo/prebuild-config": "6.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/code-frame": {
|
||||
"version": "7.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
|
||||
"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
|
||||
"requires": {
|
||||
"@babel/highlight": "^7.10.4"
|
||||
}
|
||||
},
|
||||
"@expo/config": {
|
||||
"version": "8.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config/-/config-8.3.1.tgz",
|
||||
"integrity": "sha512-5fNGAw5h/MDOc8Ulv9nonafPtOT042B7dF6vrVxSP3CY5qiVu0tCsmbL412wEcrAZ8MY7UMv9e6IzpGTgleYgg==",
|
||||
"requires": {
|
||||
"@babel/code-frame": "~7.10.4",
|
||||
"@expo/config-plugins": "~7.5.0",
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/json-file": "^8.2.37",
|
||||
"getenv": "^1.0.0",
|
||||
"glob": "7.1.6",
|
||||
"require-from-string": "^2.0.2",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "7.5.3",
|
||||
"slugify": "^1.3.4",
|
||||
"sucrase": "^3.20.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@expo/config-plugins": {
|
||||
"version": "7.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-7.5.0.tgz",
|
||||
"integrity": "sha512-qOKjmgbddLh1vj9ytUT6AduhEans2cHgS42nopVgh5Wz8X+QUvPcCr1Yc8MvLM3OlbswBMCJceeosZa463i0uA==",
|
||||
"requires": {
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/fingerprint": "^0.2.0",
|
||||
"@expo/json-file": "~8.2.37",
|
||||
"@expo/plist": "^0.0.20",
|
||||
"@expo/sdk-runtime-versions": "^1.0.0",
|
||||
"@react-native/normalize-color": "^2.0.0",
|
||||
"chalk": "^4.1.2",
|
||||
"debug": "^4.3.1",
|
||||
"find-up": "~5.0.0",
|
||||
"getenv": "^1.0.0",
|
||||
"glob": "7.1.6",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "^7.5.3",
|
||||
"slash": "^3.0.0",
|
||||
"xcode": "^3.0.1",
|
||||
"xml2js": "0.6.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@expo/config-plugins": {
|
||||
"version": "7.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-7.4.0.tgz",
|
||||
"integrity": "sha512-/BwYRl6QQ9ZKYpVaIqHE5sSPqNZI9CUtfLfYHhpnShQUA1KHRMi6y9zjb3IXJisk0/fcrtRm2yP3A7F0l304sQ==",
|
||||
"requires": {
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/json-file": "~8.2.37",
|
||||
"@expo/plist": "^0.0.20",
|
||||
"@expo/sdk-runtime-versions": "^1.0.0",
|
||||
"@react-native/normalize-color": "^2.0.0",
|
||||
"chalk": "^4.1.2",
|
||||
"debug": "^4.3.1",
|
||||
"find-up": "~5.0.0",
|
||||
"getenv": "^1.0.0",
|
||||
"glob": "7.1.6",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "^7.5.3",
|
||||
"slash": "^3.0.0",
|
||||
"xcode": "^3.0.1",
|
||||
"xml2js": "0.6.0"
|
||||
}
|
||||
},
|
||||
"@expo/config-types": {
|
||||
"version": "50.0.0-alpha.2",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-50.0.0-alpha.2.tgz",
|
||||
"integrity": "sha512-eAUMUg4wnw0bYovs+isibq4l9ssMacS/r0NolDxDdIX/N+ZjIEZ5DEl5GO8dnD0dKbN/DPWwUln7SG/nSYHfmw=="
|
||||
},
|
||||
"@expo/prebuild-config": {
|
||||
"version": "6.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-6.4.0.tgz",
|
||||
"integrity": "sha512-RjKK7rd2H9P1pTcAcZFUd9tpxCwFNyyrlTdHZWlvZvZnBJWIyUZex7P3q7db7KLJ6UrVPmlM+B7OSc0Mxs4uoQ==",
|
||||
"requires": {
|
||||
"@expo/config": "~8.3.0",
|
||||
"@expo/config-plugins": "~7.4.0",
|
||||
"@expo/config-types": "^50.0.0-alpha.1",
|
||||
"@expo/image-utils": "0.3.22",
|
||||
"@expo/json-file": "^8.2.37",
|
||||
"debug": "^4.3.1",
|
||||
"fs-extra": "^9.0.0",
|
||||
"resolve-from": "^5.0.0",
|
||||
"semver": "7.5.3",
|
||||
"xml2js": "0.6.0"
|
||||
}
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.1.6",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
||||
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
|
||||
},
|
||||
"semver": {
|
||||
"version": "7.5.3",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",
|
||||
"integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==",
|
||||
"requires": {
|
||||
"lru-cache": "^6.0.0"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"expo-structured-headers": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/expo-structured-headers/-/expo-structured-headers-3.3.0.tgz",
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
"expo-local-authentication": "~13.3.0",
|
||||
"expo-localization": "~14.1.1",
|
||||
"expo-modules-autolinking": "~1.5.0",
|
||||
"expo-splash-screen": "^0.22.0",
|
||||
"expo-updates": "^0.18.17",
|
||||
"expo-web-browser": "^12.5.0",
|
||||
"i18next": "^21.6.16",
|
||||
|
||||
@@ -12,9 +12,17 @@ import {NotificationsScreen} from '../screens/NotificationsScreen';
|
||||
import {SetupLanguageScreen} from '../screens/SetupLanguageScreen';
|
||||
import {IntroSlidersScreen} from '../screens/Home/IntroSlidersScreen';
|
||||
import {RequestLayout} from '../screens/Request/RequestLayout';
|
||||
import {RequestStackParamList} from './routesConstants';
|
||||
import {RequestStackParamList} from '../screens/Request/RequestLayoutController';
|
||||
import {SplashScreen} from '../screens/SplashScreen';
|
||||
|
||||
export const baseRoutes: Screen[] = [
|
||||
{
|
||||
name: 'SplashScreen',
|
||||
component: SplashScreen,
|
||||
options: {
|
||||
headerShown: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Language',
|
||||
component: SetupLanguageScreen,
|
||||
|
||||
@@ -28,15 +28,7 @@ export const AppLayout: React.FC = () => {
|
||||
return (
|
||||
<NavigationContainer ref={navigationRef}>
|
||||
<StatusBar animated={true} barStyle="dark-content" />
|
||||
<Navigator
|
||||
initialRouteName={
|
||||
controller.isLanguagesetup
|
||||
? baseRoutes[0].name
|
||||
: controller.isUnAuthorized
|
||||
? baseRoutes[2].name
|
||||
: baseRoutes[1].name
|
||||
}
|
||||
screenOptions={options}>
|
||||
<Navigator initialRouteName={baseRoutes[0].name} screenOptions={options}>
|
||||
{baseRoutes.map(route => (
|
||||
<Screen key={route.name} {...route} />
|
||||
))}
|
||||
|
||||
@@ -9,6 +9,7 @@ import {useWelcomeScreen} from '../WelcomeScreenController';
|
||||
import LinearGradient from 'react-native-linear-gradient';
|
||||
import {SvgImage} from '../../components/ui/svg';
|
||||
import testIDProps from '../../shared/commonUtil';
|
||||
import {INTRO_SLIDER_LOGO_MARGIN} from '../../shared/constants';
|
||||
|
||||
export const IntroSlidersScreen: React.FC<RootRouteProps> = props => {
|
||||
const slider = useRef<AppIntroSlider>();
|
||||
@@ -56,7 +57,7 @@ export const IntroSlidersScreen: React.FC<RootRouteProps> = props => {
|
||||
<LinearGradient colors={Theme.Colors.gradientBtn}>
|
||||
<Centered>
|
||||
<Row align="space-between" style={Theme.Styles.introSliderHeader}>
|
||||
<Column style={{marginLeft: Dimensions.get('screen').width * 0.4}}>
|
||||
<Column style={{marginLeft: INTRO_SLIDER_LOGO_MARGIN}}>
|
||||
{SvgImage.InjiSmallLogo()}
|
||||
</Column>
|
||||
|
||||
|
||||
@@ -69,10 +69,15 @@ export const HomeScreenLayout: React.FC<RootRouteProps> = props => {
|
||||
const [isRTL] = useState(I18nManager.isRTL);
|
||||
|
||||
var HomeScreenOptions = {
|
||||
headerLeft: () => (isIOS() || !isRTL ? SvgImage.InjiLogo() : screenOptions),
|
||||
headerLeft: () =>
|
||||
isIOS() || !isRTL
|
||||
? SvgImage.InjiLogo(Theme.Styles.injiLogo)
|
||||
: screenOptions,
|
||||
headerTitle: '',
|
||||
headerRight: () =>
|
||||
isIOS() || !isRTL ? screenOptions : SvgImage.InjiLogo(),
|
||||
isIOS() || !isRTL
|
||||
? screenOptions
|
||||
: SvgImage.InjiLogo(Theme.Styles.injiLogo),
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@@ -40,7 +40,8 @@ export const QrConsent: React.FC<QrConsentProps> = props => {
|
||||
style={Theme.TextStyles.small}
|
||||
weight="bold"
|
||||
margin={'10 0 0 0'}>
|
||||
{getClientNameForCurrentLanguage(controller.clientName)} {t('access')}
|
||||
{getClientNameForCurrentLanguage(controller.clientName)}{' '}
|
||||
{t('access')}
|
||||
</Text>
|
||||
</Column>
|
||||
<ScrollView>
|
||||
|
||||
@@ -8,7 +8,7 @@ import {Icon} from 'react-native-elements';
|
||||
import {RootRouteProps} from '../routes';
|
||||
import {useWelcomeScreen} from './WelcomeScreenController';
|
||||
import {changeLanguage} from '../components/LanguageSelector';
|
||||
import {Dimensions} from 'react-native';
|
||||
import {BackHandler, Dimensions} from 'react-native';
|
||||
import {useBackupRestoreScreen} from './Settings/BackupRestoreController';
|
||||
|
||||
export const SetupLanguageScreen: React.FC<RootRouteProps> = props => {
|
||||
@@ -23,6 +23,20 @@ export const SetupLanguageScreen: React.FC<RootRouteProps> = props => {
|
||||
backupRestoreController.DOWNLOAD_UNSYNCED_BACKUP_FILES();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
const backAction = () => {
|
||||
BackHandler.exitApp();
|
||||
return true;
|
||||
};
|
||||
|
||||
const backHandler = BackHandler.addEventListener(
|
||||
'hardwareBackPress',
|
||||
backAction,
|
||||
);
|
||||
|
||||
return () => backHandler.remove();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Column style={Theme.SetupLanguageScreenStyle.columnStyle}>
|
||||
<Icon
|
||||
|
||||
43
screens/SplashScreen.tsx
Normal file
@@ -0,0 +1,43 @@
|
||||
import {Dimensions} from 'react-native';
|
||||
import {RootRouteProps} from '../routes';
|
||||
import {Image} from 'react-native-elements';
|
||||
import React, {useEffect} from 'react';
|
||||
import {APPLICATION_THEME} from 'react-native-dotenv';
|
||||
import {Column} from '../components/ui';
|
||||
import {useAppLayout} from './AppLayoutController';
|
||||
|
||||
export const SplashScreen: React.FC<RootRouteProps> = props => {
|
||||
const imageResource =
|
||||
APPLICATION_THEME?.toLowerCase() === 'purple'
|
||||
? require('../assets/purpleSplashScreen.png')
|
||||
: require('../assets/orangeSplashScreen.png');
|
||||
const controller = useAppLayout();
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
if (controller.isLanguagesetup) {
|
||||
props.navigation.navigate('Language');
|
||||
} else if (controller.isUnAuthorized) {
|
||||
props.navigation.navigate('Welcome');
|
||||
} else {
|
||||
props.navigation.navigate('IntroSliders');
|
||||
}
|
||||
}, 3000);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Column
|
||||
crossAlign="center"
|
||||
style={{
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
height: Dimensions.get('screen').height,
|
||||
width: Dimensions.get('screen').width,
|
||||
}}>
|
||||
<Image
|
||||
resizeMode="stretch"
|
||||
style={{width: 250, height: 150}}
|
||||
source={imageResource}
|
||||
/>
|
||||
</Column>
|
||||
);
|
||||
};
|
||||
@@ -16,7 +16,7 @@ export const WelcomeScreen: React.FC<RootRouteProps> = props => {
|
||||
padding="32 32 0"
|
||||
backgroundColor={Theme.Colors.whiteBackgroundColor}>
|
||||
<HorizontallyCentered fill>
|
||||
{SvgImage.MosipLogo(Theme.Styles.welcomeLogo)}
|
||||
{SvgImage.InjiLogo(Theme.Styles.welcomeLogo)}
|
||||
</HorizontallyCentered>
|
||||
<Button
|
||||
testID="unlockApplication"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Platform} from 'react-native';
|
||||
import {Dimensions, Platform} from 'react-native';
|
||||
import {DEBUG_MODE, ESIGNET_HOST, MIMOTO_HOST} from 'react-native-dotenv';
|
||||
import {Argon2iConfig} from './commonUtil';
|
||||
import {VcIdType} from '../machines/VerifiableCredential/VCMetaMachine/vc';
|
||||
@@ -127,5 +127,7 @@ export const ICLOUD_DRIVE_NAME = 'iCloud';
|
||||
export const DEFAULT_ECL = 'M';
|
||||
export const DEFAULT_QR_HEADER = 'INJIQUICKSHARE://';
|
||||
|
||||
export const INTRO_SLIDER_LOGO_MARGIN = Dimensions.get('screen').width * 0.45;
|
||||
|
||||
export const COPILOT_PRE_FINAL_STEP: number = 5;
|
||||
export const COPILOT_FINAL_STEP: number = 6;
|
||||
|
||||