notifly-sdk 3.0.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -88,7 +88,7 @@ dependencies {
|
|
|
88
88
|
//noinspection GradleDynamicVersion
|
|
89
89
|
implementation "com.facebook.react:react-native:+"
|
|
90
90
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
91
|
-
implementation "com.github.team-michael:notifly-android-sdk:1.
|
|
91
|
+
implementation "com.github.team-michael:notifly-android-sdk:1.3.1"
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
if (isNewArchitectureEnabled()) {
|
|
@@ -7,8 +7,8 @@ import com.facebook.react.bridge.ReadableArray
|
|
|
7
7
|
import com.facebook.react.bridge.ReadableMap
|
|
8
8
|
import com.facebook.react.bridge.Promise
|
|
9
9
|
import tech.notifly.Notifly
|
|
10
|
-
import tech.notifly.
|
|
11
|
-
import tech.notifly.
|
|
10
|
+
import tech.notifly.NotiflyControlToken
|
|
11
|
+
import tech.notifly.NotiflySdkType
|
|
12
12
|
|
|
13
13
|
class NotiflyControlTokenImpl : NotiflyControlToken
|
|
14
14
|
class NotiflySdkModule internal constructor(private val reactContext: ReactApplicationContext) :
|
|
@@ -31,7 +31,7 @@ class NotiflySdkModule internal constructor(private val reactContext: ReactAppli
|
|
|
31
31
|
Notifly.setSdkType(NotiflyControlTokenImpl(), NotiflySdkType.REACT_NATIVE)
|
|
32
32
|
Notifly.setSdkVersion(
|
|
33
33
|
NotiflyControlTokenImpl(),
|
|
34
|
-
"3.0.
|
|
34
|
+
"3.0.5"
|
|
35
35
|
) // TODO: get version from package.json
|
|
36
36
|
Notifly.initialize(reactContext, projectId, username, password)
|
|
37
37
|
promise.resolve(null)
|
package/ios/NotiflySdk.swift
CHANGED
|
@@ -11,7 +11,7 @@ class NotiflySdk: NSObject {
|
|
|
11
11
|
@objc(initialize:withUsername:withPassword:withResolver:withRejecter:)
|
|
12
12
|
func initialize(projectId: String, username: String, password: String, resolve: RCTPromiseResolveBlock, reject _: RCTPromiseRejectBlock) {
|
|
13
13
|
Notifly.setSdkType(type: "react_native")
|
|
14
|
-
Notifly.setSdkVersion(version: "3.0.
|
|
14
|
+
Notifly.setSdkVersion(version: "3.0.5") // TODO: get version from package.json
|
|
15
15
|
Notifly.initialize(projectId: projectId, username: username, password: password)
|
|
16
16
|
resolve(nil)
|
|
17
17
|
}
|
|
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mmm,swift}"
|
|
18
18
|
|
|
19
|
-
s.dependency "notifly_sdk", "1.
|
|
19
|
+
s.dependency "notifly_sdk", "1.3.0"
|
|
20
20
|
s.dependency "React-Core"
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
package/package.json
CHANGED