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+
111# 0.7.9
212
313## Update
Original file line number Diff line number Diff line change 11Pod ::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.' => 'eng@channel.io' , 'Jam' => 'jam@channel.io' , 'Jin' => 'jin @channel.io' }
9- s . platform = :ios , "10 .0"
8+ s . author = { 'Channel Corp.' => 'eng@channel.io' , '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'
1919end
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments