notifly-sdk 3.0.2 → 3.0.4

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.
@@ -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.2.0"
91
+ implementation "com.github.team-michael:notifly-android-sdk:1.3.0"
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.utils.NotiflyControlToken
11
- import tech.notifly.utils.NotiflySdkType
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.2"
34
+ "3.0.4"
35
35
  ) // TODO: get version from package.json
36
36
  Notifly.initialize(reactContext, projectId, username, password)
37
37
  promise.resolve(null)
@@ -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.2") // TODO: get version from package.json
14
+ Notifly.setSdkVersion(version: "3.0.4") // 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.1.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notifly-sdk",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -162,4 +162,4 @@
162
162
  "type": "modules",
163
163
  "jsSrcsDir": "src"
164
164
  }
165
- }
165
+ }
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "self:">
6
- </FileRef>
7
- </Workspace>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>NotiflySdk.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>