Skip to content

Commit 97a2656

Browse files
committed
Fix lint issue that got through earlier checks, and fix the reason why CI wasn't running on the earlier PR
1 parent 19dcb50 commit 97a2656

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ name: CI
22

33
on:
44
pull_request:
5-
branches:
6-
- master
7-
- rel/*
85

96
permissions:
10-
contents: write
7+
contents: read
118

129
jobs:
1310
lint:

example/android/app/src/main/java/com/klaviyoreactnativesdkexample/MainActivity.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package com.klaviyoreactnativesdkexample
22

33
import android.content.Intent
4-
import android.net.Uri
54
import android.os.Bundle
6-
import android.util.Log
75
import com.facebook.react.ReactActivity
86
import com.facebook.react.ReactActivityDelegate
97
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
@@ -24,7 +22,6 @@ class MainActivity : ReactActivity() {
2422
override fun createReactActivityDelegate(): ReactActivityDelegate = DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
2523

2624
override fun onCreate(savedInstanceState: Bundle?) {
27-
Log.v("KlaviyoSampleApp", "MainActivity.onCreate()")
2825
super.onCreate(savedInstanceState)
2926

3027
// Android Installation Step 5a: Depending on the state of your application when the notification is tapped,
@@ -34,8 +31,6 @@ class MainActivity : ReactActivity() {
3431
}
3532

3633
override fun onNewIntent(intent: Intent?) {
37-
Log.v("KlaviyoSampleApp", "MainActivity.onNewIntent()")
38-
Log.v("KlaviyoSampleApp", "Launch Intent: " + intent.toString())
3934
super.onNewIntent(intent)
4035

4136
// Android Installation Step 5: Call handlePush when a push notification is tapped

0 commit comments

Comments
 (0)