Skip to content

Fix argument of addCharacteristicToService for iOS#10

Open
Naturalclar wants to merge 1 commit intohimelbrand:masterfrom
Naturalclar:fix/addCharacteristicsToService
Open

Fix argument of addCharacteristicToService for iOS#10
Naturalclar wants to merge 1 commit intohimelbrand:masterfrom
Naturalclar:fix/addCharacteristicsToService

Conversation

@Naturalclar
Copy link
Contributor

Fixed addCharacteristicToService to match the behavior of Android.

the value input for CBMutableCharacteristic should be nil so the value won't be cached and it can receive other values.
https://developer.apple.com/documentation/corebluetooth/cbmutablecharacteristic

@himelbrand
Copy link
Owner

looks good,
was it tested? and working?

@himelbrand
Copy link
Owner

looks good,
was it tested? and working?

@Naturalclar I don't have IOS to test it on

@Naturalclar
Copy link
Contributor Author

Sorry for late response!
I've checked that this fix will atleast not cause an error upon initializing, but there are other parts of this module that isn't working on iOS, so I'm working on a fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants