@frontegg/ionic-capacitor 2.0.2 → 2.0.3-alpha.7460046428
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -14
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -48,9 +48,11 @@ from [Frontegg Portal Domain](https://portal.frontegg.com/development/settings/d
|
|
|
48
48
|
### Setup Hosted Login
|
|
49
49
|
|
|
50
50
|
- Navigate to [Login Method Settings](https://portal.frontegg.com/development/authentication/hosted)
|
|
51
|
-
- Toggle Hosted login method
|
|
52
|
-
- Add `{{IOS_BUNDLE_IDENTIFIER}}://{{FRONTEGG_BASE_URL}}/ios/oauth/callback`
|
|
53
|
-
-
|
|
51
|
+
- Toggle Hosted login method for iOS:
|
|
52
|
+
- Add `{{IOS_BUNDLE_IDENTIFIER}}://{{FRONTEGG_BASE_URL}}/ios/oauth/callback`
|
|
53
|
+
- Toggle Hosted login method for Android:
|
|
54
|
+
- Add `{{ANDROID_PACKAGE_NAME}}://{{FRONTEGG_BASE_URL}}/android/oauth/callback` **(without assetlinks)**
|
|
55
|
+
- Add `https://{{FRONTEGG_BASE_URL}}/{{ANDROID_PACKAGE_NAME}}/android/oauth/callback` **(required for assetlinks)**
|
|
54
56
|
- Replace `IOS_BUNDLE_IDENTIFIER` with your application identifier
|
|
55
57
|
- Replace `FRONTEGG_BASE_URL` with your frontegg base url
|
|
56
58
|
- Replace `ANDROID_PACKAGE_NAME` with your android package name
|
|
@@ -738,6 +740,7 @@ Follow [Config Android AssetLinks](#config-android-assetlinks) to add your Andro
|
|
|
738
740
|
|
|
739
741
|
The first domain will be placed automatically in the `AndroidManifest.xml` file. For each additional region, you will
|
|
740
742
|
need to add an `intent-filter`.
|
|
743
|
+
Replace `${FRONTEGG_DOMAIN_2}` with the second domain from the previous step.
|
|
741
744
|
|
|
742
745
|
NOTE: if you are using `Custom Chrome Tab` you have to use `android:name` `com.frontegg.android.HostedAuthActivity` instead of `com.frontegg.android.EmbeddedAuthActivity`
|
|
743
746
|
|
|
@@ -745,7 +748,7 @@ NOTE: if you are using `Custom Chrome Tab` you have to use `android:name` `com.f
|
|
|
745
748
|
|
|
746
749
|
<application>
|
|
747
750
|
<activity android:exported="true" android:name="com.frontegg.android.EmbeddedAuthActivity"
|
|
748
|
-
|
|
751
|
+
tools:node="merge">
|
|
749
752
|
<intent-filter android:autoVerify="true">
|
|
750
753
|
<action android:name="android.intent.action.VIEW" />
|
|
751
754
|
|
|
@@ -753,26 +756,31 @@ NOTE: if you are using `Custom Chrome Tab` you have to use `android:name` `com.f
|
|
|
753
756
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
754
757
|
|
|
755
758
|
<data android:scheme="https" />
|
|
756
|
-
<!--
|
|
757
|
-
<data android:host="{
|
|
758
|
-
|
|
759
|
-
<data android:
|
|
760
|
-
|
|
761
|
-
<data android:
|
|
762
|
-
|
|
759
|
+
<!-- DO NOT COMBINE THE FOLLOWING LINES INTO ONE LINE OR SPLIT TO MULTIPLE -->
|
|
760
|
+
<data android:host="${FRONTEGG_DOMAIN_2}"
|
|
761
|
+
android:pathPrefix="/oauth/account/activate" />
|
|
762
|
+
<data android:host="${FRONTEGG_DOMAIN_2}"
|
|
763
|
+
android:pathPrefix="/oauth/account/invitation/accept" />
|
|
764
|
+
<data android:host="${FRONTEGG_DOMAIN_2}"
|
|
765
|
+
android:pathPrefix="/oauth/account/reset-password" />
|
|
766
|
+
<data android:host="${FRONTEGG_DOMAIN_2}"
|
|
767
|
+
android:pathPrefix="/oauth/account/login/magic-link" />
|
|
763
768
|
</intent-filter>
|
|
764
769
|
</activity>
|
|
765
770
|
|
|
766
771
|
<activity android:exported="true" android:name="com.frontegg.android.AuthenticationActivity"
|
|
767
|
-
|
|
772
|
+
tools:node="merge">
|
|
768
773
|
<intent-filter>
|
|
769
774
|
<action android:name="android.intent.action.VIEW" />
|
|
770
775
|
|
|
771
776
|
<category android:name="android.intent.category.DEFAULT" />
|
|
772
777
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
773
778
|
|
|
774
|
-
<!--
|
|
775
|
-
<data android:host="{
|
|
779
|
+
<!-- DO NOT COMBINE THE FOLLOWING LINES INTO ONE LINE OR SPLIT TO MULTIPLE -->
|
|
780
|
+
<data android:host="${FRONTEGG_DOMAIN_2}" android:scheme="${package_name}" />
|
|
781
|
+
<data android:host="${FRONTEGG_DOMAIN_2}"
|
|
782
|
+
android:pathPrefix="/${package_name}/android/oauth/callback"
|
|
783
|
+
android:scheme="https" />
|
|
776
784
|
</intent-filter>
|
|
777
785
|
</activity>
|
|
778
786
|
</application>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/ionic-capacitor",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3-alpha.7460046428",
|
|
4
4
|
"description": "Frontegg Ionic Capacitor SDK",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -51,6 +51,11 @@
|
|
|
51
51
|
"@frontegg/rest-api": "^3.1.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
+
"@angular-eslint/builder": "^16.0.0",
|
|
55
|
+
"@angular-eslint/eslint-plugin": "^16.0.0",
|
|
56
|
+
"@angular-eslint/eslint-plugin-template": "^16.0.0",
|
|
57
|
+
"@angular-eslint/schematics": "^16.0.0",
|
|
58
|
+
"@angular-eslint/template-parser": "^16.0.0",
|
|
54
59
|
"@angular/core": ">=14.0.0",
|
|
55
60
|
"@capacitor/android": "^5.0.0",
|
|
56
61
|
"@capacitor/core": "^5.0.0",
|
|
@@ -65,12 +70,7 @@
|
|
|
65
70
|
"rimraf": "^3.0.2",
|
|
66
71
|
"rollup": "^2.32.0",
|
|
67
72
|
"swiftlint": "^1.0.1",
|
|
68
|
-
"typescript": "~4.1.5"
|
|
69
|
-
"@angular-eslint/builder": "^16.0.0",
|
|
70
|
-
"@angular-eslint/eslint-plugin": "^16.0.0",
|
|
71
|
-
"@angular-eslint/eslint-plugin-template": "^16.0.0",
|
|
72
|
-
"@angular-eslint/schematics": "^16.0.0",
|
|
73
|
-
"@angular-eslint/template-parser": "^16.0.0"
|
|
73
|
+
"typescript": "~4.1.5"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@capacitor/core": "^5.0.0"
|