File tree Expand file tree Collapse file tree 4 files changed +20
-10
lines changed Expand file tree Collapse file tree 4 files changed +20
-10
lines changed Original file line number Diff line number Diff line change
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
+
1
11
# 0.7.9
2
12
3
13
## Update
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "RNChannelIO"
3
- s . version = "0.1.0 "
3
+ s . version = "0.1.1 "
4
4
s . summary = "RNChannelIO"
5
5
s . description = "channel plugin for react native"
6
6
s . homepage = "https://channel.io"
7
7
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"
10
10
s . source = { :git => "https://github.com/zoyi/react-native-channel-io.git" }
11
11
s . source_files = "ios/**/*.{h,m}"
12
12
s . requires_arc = true
13
13
s . swift_version = '5.0'
14
14
15
- s . ios . deployment_target = '10 .0'
15
+ s . ios . deployment_target = '11 .0'
16
16
17
17
s . dependency "React"
18
- s . dependency "ChannelIOSDK"
18
+ s . dependency "ChannelIOSDK" , '~> 10'
19
19
end
Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ + (BootConfig *)bootConfig:(id)json {
76
76
[config setWithUnsubscribeTexting: [RCTConvert BOOL: json[KEY_UNSUBSCRIBE_TEXTING]]];
77
77
}
78
78
79
- if (json[KEY_LAUNCHER_CONFIG] == nil && json[ KEY_CHANNEL_BUTTON_OPTION] != nil ) {
79
+ if (json[KEY_CHANNEL_BUTTON_OPTION] != nil ) {
80
80
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 ) {
82
82
config.channelButtonOption = [RCTConvert channelButtonOption: json[KEY_LAUNCHER_CONFIG]];
83
83
}
84
84
85
- if (json[KEY_MEMBER_ID] != nil && json[KEY_USER_ID] == nil ) {
85
+ if (json[KEY_MEMBER_ID] != nil ) {
86
86
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 ) {
88
88
config.memberId = [RCTConvert NSString: json[KEY_USER_ID]];
89
89
}
90
90
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-channel-plugin" ,
3
- "version" : " 0.7.9 " ,
3
+ "version" : " 0.7.10 " ,
4
4
"description" : " react native module for channel io" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments