Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ android {
testImplementation 'org.mockito:mockito-core:5.0.0'

// Frontegg dependencies
implementation 'com.frontegg.sdk:android:1.3.9'
implementation 'com.frontegg.sdk:android:1.3.10'
// Utils
implementation 'androidx.core:core-ktx:1.10.0'
implementation 'io.reactivex.rxjava3:rxkotlin:3.0.1'
Expand Down
2 changes: 1 addition & 1 deletion application_id/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ flutter {

dependencies {
androidTestUtil "androidx.test:orchestrator:1.5.1"
implementation 'com.frontegg.sdk:android:1.3.9'
implementation 'com.frontegg.sdk:android:1.3.10'
}
32 changes: 32 additions & 0 deletions application_id/lib/user_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,38 @@ class _UserPageState extends State<UserPage> {
top: 16.0,
left: 10.5,
right: 10.5,
bottom: 8,
),
// Receive access token button
child: ElevatedButton(
onPressed: () async {
final accessToken = state.accessToken;
if (accessToken != null && accessToken.isNotEmpty) {
await Clipboard.setData(
ClipboardData(text: accessToken),
);
Fluttertoast.showToast(
msg: "Access token was copied to clipboard",
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
backgroundColor: primaryColor,
textColor: Colors.white,
fontSize: 16.0,
);
} else {
_showFailureMessage(
"Access token is not available",
);
}
},
child: const Text("Receive access token"),
),
),
Padding(
padding: const EdgeInsets.only(
top: 8.0,
left: 10.5,
right: 10.5,
bottom: 24,
),
// Sensitive action button
Expand Down
2 changes: 1 addition & 1 deletion embedded/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ flutter {

dependencies {
androidTestUtil "androidx.test:orchestrator:1.5.1"
implementation 'com.frontegg.sdk:android:1.3.9'
implementation 'com.frontegg.sdk:android:1.3.10'
}
2 changes: 1 addition & 1 deletion embedded/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>12.0</string>
<string>13.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion embedded/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ target 'Runner' do
use_frameworks!
use_modular_headers!

pod 'FronteggSwift', '~> 1.2.48'
pod 'FronteggSwift', '~> 1.2.51'

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

Expand Down
16 changes: 8 additions & 8 deletions embedded/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ PODS:
- Flutter (1.0.0)
- fluttertoast (0.0.2):
- Flutter
- frontegg_flutter (1.0.21):
- frontegg_flutter (1.0.22):
- Flutter
- FronteggSwift (~> 1.2.48)
- FronteggSwift (1.2.48)
- FronteggSwift (~> 1.2.51)
- FronteggSwift (1.2.51)
- integration_test (0.0.1):
- Flutter
- path_provider_foundation (0.0.1):
Expand All @@ -23,7 +23,7 @@ DEPENDENCIES:
- Flutter (from `Flutter`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- frontegg_flutter (from `.symlinks/plugins/frontegg_flutter/ios`)
- FronteggSwift (~> 1.2.48)
- FronteggSwift (~> 1.2.51)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- patrol (from `.symlinks/plugins/patrol/darwin`)
Expand Down Expand Up @@ -52,15 +52,15 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1
frontegg_flutter: 6a3064f40610e9284c8e658eb84b6af9681f4714
FronteggSwift: d68972df823b7f6b896513363107b26926ca924a
frontegg_flutter: 77cc03cb757b835005204167e59d5f72229d39bc
FronteggSwift: 9708e67f9d21495984deb954d98ec0a120ace9b6
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
patrol: 51b76cc7c11a2933ee3e72482d930c75b9d4ec73
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d

PODFILE CHECKSUM: 22ae0c8c72248cb2c0b646bb986526a3719cdae5
PODFILE CHECKSUM: 7165efc82718ddbbe0f685b2bfc155bdd315e302

COCOAPODS: 1.16.2
32 changes: 32 additions & 0 deletions embedded/lib/user_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,38 @@ class _UserPageState extends State<UserPage> {
top: 16.0,
left: 10.5,
right: 10.5,
bottom: 8,
),
// Receive access token button
child: ElevatedButton(
onPressed: () async {
final accessToken = state.accessToken;
if (accessToken != null && accessToken.isNotEmpty) {
await Clipboard.setData(
ClipboardData(text: accessToken),
);
Fluttertoast.showToast(
msg: "Access token was copied to clipboard",
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
backgroundColor: primaryColor,
textColor: Colors.white,
fontSize: 16.0,
);
} else {
_showFailureMessage(
"Access token is not available",
);
}
},
child: const Text("Receive access token"),
),
),
Padding(
padding: const EdgeInsets.only(
top: 8.0,
left: 10.5,
right: 10.5,
bottom: 24,
),
// Sensitive action button
Expand Down
24 changes: 12 additions & 12 deletions embedded/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.21"
version: "1.0.22"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -186,26 +186,26 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
url: "https://pub.dev"
source: hosted
version: "10.0.9"
version: "11.0.2"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
url: "https://pub.dev"
source: hosted
version: "3.0.9"
version: "3.0.10"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
version: "3.0.2"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -423,10 +423,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
url: "https://pub.dev"
source: hosted
version: "0.7.4"
version: "0.7.6"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -511,10 +511,10 @@ packages:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
url: "https://pub.dev"
source: hosted
version: "2.1.4"
version: "2.2.0"
vm_service:
dependency: transitive
description:
Expand Down Expand Up @@ -548,5 +548,5 @@ packages:
source: hosted
version: "1.1.0"
sdks:
dart: ">=3.7.0-0 <4.0.0"
dart: ">=3.8.0-0 <4.0.0"
flutter: ">=3.24.0"
2 changes: 1 addition & 1 deletion hosted/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ flutter {

dependencies {
androidTestUtil "androidx.test:orchestrator:1.5.1"
implementation 'com.frontegg.sdk:android:1.3.9'
implementation 'com.frontegg.sdk:android:1.3.10'
}
2 changes: 1 addition & 1 deletion hosted/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ target 'Runner' do
use_frameworks!
use_modular_headers!

pod 'FronteggSwift', '~> 1.2.48'
pod 'FronteggSwift', '~> 1.2.51'

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

Expand Down
32 changes: 32 additions & 0 deletions hosted/lib/user_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,38 @@ class _UserPageState extends State<UserPage> {
top: 16.0,
left: 10.5,
right: 10.5,
bottom: 8,
),
// Receive access token button
child: ElevatedButton(
onPressed: () async {
final accessToken = state.accessToken;
if (accessToken != null && accessToken.isNotEmpty) {
await Clipboard.setData(
ClipboardData(text: accessToken),
);
Fluttertoast.showToast(
msg: "Access token was copied to clipboard",
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
backgroundColor: primaryColor,
textColor: Colors.white,
fontSize: 16.0,
);
} else {
_showFailureMessage(
"Access token is not available",
);
}
},
child: const Text("Receive access token"),
),
),
Padding(
padding: const EdgeInsets.only(
top: 8.0,
left: 10.5,
right: 10.5,
bottom: 24,
),
// Sensitive action button
Expand Down
2 changes: 1 addition & 1 deletion ios/frontegg_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A new Flutter plugin project.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'FronteggSwift', '~> 1.2.48'
s.dependency 'FronteggSwift', '~> 1.2.51'
s.platform = :ios, '14.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
Loading