File tree Expand file tree Collapse file tree 3 files changed +19
-8
lines changed
react-native-mcu-manager/ios Expand file tree Collapse file tree 3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ const config: ExpoConfig = {
35
35
android : {
36
36
minSdkVersion : 26 ,
37
37
} ,
38
+ ios : {
39
+ extraPods : [
40
+ {
41
+ name : 'iOSMcuManagerLibrary' ,
42
+ git : 'https://github.com/PlayerData/IOS-nRF-Connect-Device-Manager' ,
43
+ branch : 'correct-settings-write' ,
44
+ } ,
45
+ ] ,
46
+ } ,
38
47
} ,
39
48
] ,
40
49
] ,
Original file line number Diff line number Diff line change @@ -88,15 +88,13 @@ export default function settings() {
88
88
try {
89
89
setSettingError ( null ) ;
90
90
91
- < < << << < HEAD
92
- const valueB64 = await readSetting ( selectedDeviceId , settingName ) ;
93
- = === ===
94
91
const valueB64 = await readSetting (
95
92
selectedDevice ?. deviceId || '' ,
96
93
settingName
97
94
) ;
95
+
98
96
console . log ( 'valueB64' , valueB64 ) ;
99
- > >>> >>> c97bf6a67 ( fixup ! feat : adding settings capabilities )
97
+
100
98
const decodedValue = Buffer . from ( valueB64 , 'base64' ) . toString (
101
99
'binary'
102
100
) ;
@@ -119,9 +117,13 @@ export default function settings() {
119
117
try {
120
118
setSettingError ( null ) ;
121
119
122
- const encodedValue = Buffer . from ( settingValue , 'binary' ) . toString (
123
- 'base64'
124
- ) ;
120
+ const encodedValue = Buffer . from (
121
+ settingValue ,
122
+ 'binary'
123
+ ) . toString ( 'base64' ) ;
124
+
125
+ console . log ( 'encodedValue' , encodedValue ) ;
126
+
125
127
await writeSetting (
126
128
selectedDevice ?. deviceId || '' ,
127
129
settingName ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
s . static_framework = true
17
17
18
18
s . dependency 'ExpoModulesCore'
19
- s . dependency 'iOSMcuManagerLibrary' , '1.7.3'
19
+ s . dependency 'iOSMcuManagerLibrary'
20
20
21
21
# Swift/Objective-C compatibility
22
22
s . pod_target_xcconfig = {
You can’t perform that action at this time.
0 commit comments