Skip to content

Commit

Permalink
sc-93182:Product removed from cart event (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissiewasabi authored Sep 28, 2023
1 parent 0f1fab6 commit cf0f647
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

// implementation "androidx.annotation:annotation:1.6.0"
// implementation 'androidx.core:core-ktx:1.10.0'
implementation "com.movableink.sdk:inked:1.1.2"
implementation "com.movableink.sdk:inked:1.2.0"
}

if (isNewArchitectureEnabled()) {
Expand Down
5 changes: 4 additions & 1 deletion android/src/main/java/com/rnmovableink/RNMovableInkModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ class RNMovableInkModule(reactContext: ReactApplicationContext) :
fun categoryViewed(properties: ReadableMap) {
MIClient.categoryViewed(properties.toHashMap())
}

@ReactMethod
fun productRemoved(properties: ReadableMap) {
MIClient.productRemoved(properties.toHashMap())
}
@ReactMethod
fun logEvent(name: String, properties: ReadableMap) {
MIClient.logEvent(name, properties.toHashMap())
Expand Down

0 comments on commit cf0f647

Please sign in to comment.