Skip to content

Commit

Permalink
Updated Insider SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
melih-useinsider committed Nov 8, 2024
1 parent 9d38e7d commit 6e9bca0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
compileSdkVersion 34
ndkVersion flutter.ndkVersion

compileOptions {
Expand All @@ -47,7 +47,7 @@ android {
applicationId "com.useinsider.flutterdemo"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 19
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-sdk tools:overrideLibrary="androidx.security"/>

<application
android:label="flutter_demo"
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.8.0'
repositories {
google()
mavenCentral()
Expand Down Expand Up @@ -32,6 +32,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
}
4 changes: 2 additions & 2 deletions lib/insider/UserIdentifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class UserIdentifier extends StatelessWidget {
identifiers.addUserID("{crmID}");

// Login
await currentUser.login(identifiers);
currentUser.login(identifiers);

print('[INSIDER][login]: Method is triggered.');
}),
Expand All @@ -47,7 +47,7 @@ class UserIdentifier extends StatelessWidget {
FlutterInsiderUser currentUser = FlutterInsider.Instance.getCurrentUser()!;

// Logout
await currentUser.logout();
currentUser.logout();

print('[INSIDER][logout]: Method is triggered.');
}),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_insider: 3.6.0
flutter_insider: 3.12.1


# The following adds the Cupertino Icons font to your application.
Expand Down

0 comments on commit 6e9bca0

Please sign in to comment.