Skip to content

Commit e8ba248

Browse files
authored
Merge pull request #102 from channel-io/develop
0.7.10
2 parents 217d5f4 + 59802f2 commit e8ba248

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 0.7.10
2+
3+
## Update
4+
* Update RNChannelIO
5+
* changed deployment target 10 -> 11
6+
* changed dependency: "ChannelIOSDK", '~> 10'
7+
8+
## Bug Fixes
9+
* Fixes an issue where both memberId and userId are omitted when using memberId and userId at the same time.
10+
111
# 0.7.9
212

313
## Update

RNChannelIO.podspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Pod::Spec.new do |s|
22
s.name = "RNChannelIO"
3-
s.version = "0.1.0"
3+
s.version = "0.1.1"
44
s.summary = "RNChannelIO"
55
s.description = "channel plugin for react native"
66
s.homepage = "https://channel.io"
77
s.license = { :type => "SDK", :file => "LICENSE" }
8-
s.author = { 'Channel Corp.' => '[email protected]', 'Jam' => '[email protected]', 'Jin' => 'jin@channel.io' }
9-
s.platform = :ios, "10.0"
8+
s.author = { 'Channel Corp.' => '[email protected]', 'Channel Corp. iOS' => 'ios@channel.io' }
9+
s.platform = :ios, "11.0"
1010
s.source = { :git => "https://github.com/zoyi/react-native-channel-io.git" }
1111
s.source_files = "ios/**/*.{h,m}"
1212
s.requires_arc = true
1313
s.swift_version = '5.0'
1414

15-
s.ios.deployment_target = '10.0'
15+
s.ios.deployment_target = '11.0'
1616

1717
s.dependency "React"
18-
s.dependency "ChannelIOSDK"
18+
s.dependency "ChannelIOSDK", '~> 10'
1919
end

ios/RCTConvert+ChannelIO.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ + (BootConfig *)bootConfig:(id)json {
7676
[config setWithUnsubscribeTexting: [RCTConvert BOOL:json[KEY_UNSUBSCRIBE_TEXTING]]];
7777
}
7878

79-
if (json[KEY_LAUNCHER_CONFIG] == nil && json[KEY_CHANNEL_BUTTON_OPTION] != nil) {
79+
if (json[KEY_CHANNEL_BUTTON_OPTION] != nil) {
8080
config.channelButtonOption = [RCTConvert channelButtonOption:json[KEY_CHANNEL_BUTTON_OPTION]];
81-
} else if (json[KEY_LAUNCHER_CONFIG] != nil && json[KEY_CHANNEL_BUTTON_OPTION] == nil) {
81+
} else if (json[KEY_LAUNCHER_CONFIG] != nil) {
8282
config.channelButtonOption = [RCTConvert channelButtonOption:json[KEY_LAUNCHER_CONFIG]];
8383
}
8484

85-
if (json[KEY_MEMBER_ID] != nil && json[KEY_USER_ID] == nil) {
85+
if (json[KEY_MEMBER_ID] != nil) {
8686
config.memberId = [RCTConvert NSString:json[KEY_MEMBER_ID]];
87-
} else if (json[KEY_MEMBER_ID] == nil && json[KEY_USER_ID] != nil) {
87+
} else if (json[KEY_USER_ID] != nil) {
8888
config.memberId = [RCTConvert NSString:json[KEY_USER_ID]];
8989
}
9090

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-channel-plugin",
3-
"version": "0.7.9",
3+
"version": "0.7.10",
44
"description": "react native module for channel io",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)