Skip to content

Commit

Permalink
Merge pull request #63 from plaidev/flutter-e2e
Browse files Browse the repository at this point in the history
rm log and add android:usesCleartextTraffic="true" to debug in local
  • Loading branch information
RyosukeCla authored Oct 18, 2024
2 parents 0c8c98e + 09c2ec8 commit 47c2a3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
Expand All @@ -11,6 +12,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:usesCleartextTraffic="true"
android:theme="@style/Theme.NativebrikAndroid"
android:enableOnBackInvokedCallback="true"
tools:targetApi="31">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.nativebrik.sdk.component

import android.util.Log
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.LaunchedEffect
Expand Down Expand Up @@ -59,7 +58,6 @@ internal class TriggerViewModel(internal val container: Container, internal val

@OptIn(DelicateCoroutinesApi::class)
fun dispatch(event: NativebrikEvent) {
Log.d("[DATADOG]", event.name)
val self = this
GlobalScope.launch(Dispatchers.IO) {
self.container.fetchInAppMessage(event.name).onSuccess {
Expand Down

0 comments on commit 47c2a3e

Please sign in to comment.