Button id different in Android and iOS
jaime.fernandez last edited by
The button id returns as a MAC address in Android and as an UUID in iOS. Why is that?
I'm developing an app for both mobile operative systems. Is it possible to retrieve a button in iOS using its MAC address and viceversa (retrieve the same button in Android using it UUID)?
narayanarao35 last edited by
We have checked documentation of FlicButton for iOS and Android from below reference
Android :: https://partners.flic.io/partners/developers/documentation/android/index.html
iOS :: https://partners.flic.io/partners/developers/documentation/ios/Classes/SCLFlicButton.html
But we didn't get UUID parameter from Android where as we are getting in iOS
We are getting Mac Address in android that is not same as UUID
So can you please tell how we can get common value for iOS and Android
Thank You in advance.
kiss.electronics.20 last edited by
Here I got two documentation resources from Flic.
Android Documentation: https://partners.flic.io/partners/developers/documentation/android/index.html
IOS Documentation : https://partners.flic.io/partners/developers/documentation/ios/Classes/SCLFlicButton.html
I have debug the FlickButton on both Android and iOS, and found that UUID parameter is not available in android SDK.
And UUID paramter is not mentioned in the Android documentation also.
So, Whare I can find the common identifier for Flic Button to identify in my Application.
Thank in advance !!!
@jaime-fernandez The UUID parameter on Android is the same as the buttonPublicKey parameter on iOS. You can use that to identify buttons across different platforms. Although remember that you can not have the button connected to two different phones at the same time regardless, so I am not sure why you would want to do this.