Skip to content

Commit

Permalink
comments tests tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
turtledreams committed Feb 23, 2024
1 parent 245045b commit b2cb295
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@
import ly.count.android.sdk.StarRatingCallback;
import ly.count.android.sdk.messaging.CountlyPush;

//import com.google.firebase.iid.FirebaseInstanceId;
//import com.google.firebase.iid.InstanceIdResult;
//import com.google.android.gms.tasks.Task;
//import com.google.android.gms.tasks.OnCompleteListener;
//import com.google.firebase.FirebaseApp;

/**
* CountlyFlutterPlugin
*/
Expand Down
3 changes: 1 addition & 2 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.countly.demo"
minSdkVersion flutter.minSdkVersion
minSdkVersion 21
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -60,7 +60,6 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'ly.count.android:sdk:24.1.1'
implementation 'com.google.firebase:firebase-messaging:20.2.1'
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
}
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void main() {
int duration = apmParams['apm_metrics']['duration'];
print(duration);
expect(duration > 0, true);
expect(duration < 3000, true); // ms
expect(duration < 5000, true); // ms
}

// manually call appLoadingFinished and wait for 2 seconds
Expand Down

0 comments on commit b2cb295

Please sign in to comment.