Skip to content

Commit eac8695

Browse files
Updates for latest ComplyCube plugin
1 parent bdbf5ba commit eac8695

File tree

17 files changed

+786
-92
lines changed

17 files changed

+786
-92
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related
@@ -42,3 +44,5 @@ app.*.map.json
4244
/android/app/debug
4345
/android/app/profile
4446
/android/app/release
47+
/android/app/.cxx
48+
/android/build/ios/XCBuildData/PIFCache

android/app/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ android {
3434

3535
kotlinOptions {
3636
jvmTarget = '1.8'
37+
languageVersion = '1.9'
3738
}
3839

3940
sourceSets {
@@ -64,4 +65,6 @@ flutter {
6465
source '../..'
6566
}
6667

67-
dependencies {}
68+
dependencies {
69+
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
70+
}

android/app/src/main/res/values/styles.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
66
the Flutter engine draws its first frame -->
7-
<item name="windowActionBar">false</item>
8-
<item name="windowNoTitle">true</item>
7+
<!-- <item name="windowActionBar">false</item>-->
8+
<!-- <item name="windowNoTitle">true</item>-->
99
<item name="android:windowBackground">@drawable/launch_background</item>
1010
</style>
1111
<!-- Theme applied to the Android Window as soon as the process has started.

android/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.7.10'
2+
ext.kotlin_version = '1.9.24'
33
repositories {
44
google()
55
mavenCentral()
@@ -13,7 +13,7 @@ buildscript {
1313
}
1414

1515
dependencies {
16-
classpath 'com.android.tools.build:gradle:7.3.0'
16+
classpath 'com.android.tools.build:gradle:8.7.1'
1717
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1818
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
1919
}
@@ -24,7 +24,6 @@ allprojects {
2424
repositories {
2525
google()
2626
mavenCentral()
27-
2827
}
2928
}
3029

android/gradle.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
android.useAndroidX=true
2+
android.enableJetifier=true
3+
4+
# Optional: increase memory if needed
5+
org.gradle.jvmargs=-Xmx4096M
6+
# gradle.properties
7+
#kotlin.code.style=official
8+
#kotlin.optIn=kotlin.ExperimentalStdlibApi

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip

android/settings.gradle

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ pluginManagement {
66
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
77
return flutterSdkPath
88
}
9-
settings.ext.flutterSdkPath = flutterSdkPath()
9+
includeBuild("/Users/aniket.indulkar/development/flutter/packages/flutter_tools/gradle")
1010

11-
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
12-
13-
plugins {
14-
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
11+
repositories {
12+
google()
13+
mavenCentral()
14+
gradlePluginPortal()
1515
}
1616
}
1717

18-
include ":app"
18+
plugins{
19+
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
20+
id "com.android.library" version "8.2.2" apply false
21+
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
22+
}
1923

20-
apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
24+
include ":app"

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
source 'https://github.com/complycube/complycube-sdk-ios-spec-dev'
13
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
4+
platform :ios, '13.0'
35

46
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
57
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -27,6 +29,11 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe
2729

2830
flutter_ios_podfile_setup
2931

32+
# plugin 'cocoapods-art', :sources => [
33+
# 'cc-cocoapods-dev-local',
34+
# ]
35+
36+
3037
target 'Runner' do
3138
use_frameworks!
3239
use_modular_headers!
@@ -40,5 +47,10 @@ end
4047
post_install do |installer|
4148
installer.pods_project.targets.each do |target|
4249
flutter_additional_ios_build_settings(target)
50+
target.build_configurations.each do |config|
51+
config.build_settings['ENABLE_BITCODE'] = 'NO'
52+
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
53+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.1'
54+
end
4355
end
4456
end

ios/Podfile.lock

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
PODS:
2+
- Alamofire (5.6.1)
3+
- Analytics (4.1.8)
4+
- complycube (0.2.3):
5+
- ComplyCubeMobileSDK (= 1.3.9)
6+
- Flutter
7+
- ComplyCubeMobileSDK (1.3.9):
8+
- Alamofire (= 5.6.1)
9+
- Analytics (~> 4.1)
10+
- FingerprintPro (= 2.4.0)
11+
- GooglePlaces (= 7.4.0)
12+
- JWTDecode (~> 2.6.3)
13+
- lottie-ios (= 4.5.1)
14+
- Sentry (= 8.49.0)
15+
- SwiftyJSON (= 5.0.1)
16+
- FingerprintPro (2.4.0)
17+
- Flutter (1.0.0)
18+
- GooglePlaces (7.4.0)
19+
- integration_test (0.0.1):
20+
- Flutter
21+
- JWTDecode (2.6.3)
22+
- lottie-ios (4.5.1)
23+
- Sentry (8.49.0):
24+
- Sentry/Core (= 8.49.0)
25+
- Sentry/Core (8.49.0)
26+
- SwiftyJSON (5.0.1)
27+
28+
DEPENDENCIES:
29+
- complycube (from `.symlinks/plugins/complycube/ios`)
30+
- Flutter (from `Flutter`)
31+
- integration_test (from `.symlinks/plugins/integration_test/ios`)
32+
33+
SPEC REPOS:
34+
https://github.com/CocoaPods/Specs.git:
35+
- Alamofire
36+
- Analytics
37+
- ComplyCubeMobileSDK
38+
- FingerprintPro
39+
- GooglePlaces
40+
- JWTDecode
41+
- lottie-ios
42+
- Sentry
43+
- SwiftyJSON
44+
45+
EXTERNAL SOURCES:
46+
complycube:
47+
:path: ".symlinks/plugins/complycube/ios"
48+
Flutter:
49+
:path: Flutter
50+
integration_test:
51+
:path: ".symlinks/plugins/integration_test/ios"
52+
53+
SPEC CHECKSUMS:
54+
Alamofire: 87bd8c952f9a4454320fce00d9cc3de57bcadaf5
55+
Analytics: 9655e0e1c71ea98107cfcb2b14891168acc6c6c9
56+
complycube: 1a137b6a402c57c786d74b5fb394437e30a51bf0
57+
ComplyCubeMobileSDK: 0bcc2c79ec6baba33ffb778360df1153c1f2b600
58+
FingerprintPro: 550396e390f81754a6ca13991131ea28952c4e48
59+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
60+
GooglePlaces: 544e908d94860bf6f8fc1865b80d2c7eb6b5f937
61+
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
62+
JWTDecode: 33e5e26e5ddbd21b2065820894c08fef0cad9509
63+
lottie-ios: 248b380fa1b97d18e792c37d90da7ab2aa0d6562
64+
Sentry: 5eda2559a20fa0c377b695ed9d7c178a47122891
65+
SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e
66+
67+
PODFILE CHECKSUM: d20b3ce015bc5ab976aee200b01950ef348995b0
68+
69+
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)