-
-
Notifications
You must be signed in to change notification settings - Fork 38
Unable to execute on IOS #21
Comments
Hum... I have never tested on an iPad. Have you tried running on a simulator just to see if it goes through? |
Yes, First I tried with iPhone 11 simulator but there also the same error. |
Hi, I had the same issue ... try to find additional info on why it failed. I can't remember where but I found that explanation and as I remember it was because of "Privacy - Bluetooth Peripheral Usage Description" was missing in Info.plist |
Version 0.0.17 released. It seems to be working well on my devices. Let me know if you see any issues. |
@vitorpamplona Still not working on the iOS device. Getting "BLEAdvertiser.<function_name> is not a function." Please help :) |
For some reason, you need to add below entry into your Podfile manually to make it work. Put it inside your app target, then run pod install
|
Based off this fix highlighted by @maulanakurniawan , here is how you'd implement this in an expo managed project.
Then in your
|
@Kasendwa, please help me to setup Expo project with this package (react-native-ble-advertiser). Does your solution work also on Android? If not, could you please provide a minimal Expo project with this package working on both iOS and Android? It is really a big dream for me to make it possible with the simple flow of Expo (Without the need of Android Studio and Mac XCode). Here: I was going to go with bare React Native flow, but I discovered that nowadays Expo became too powerful to ignore. It no longer needs ejecting and it can just implement unsupported npm packages by config plugins (like your solution) and/or development builds and/or creating native modules. The thing is that I am still very new to RN world and I feel I need a little help to implement this package as a config plugin (or something like that), just to get the minimal project setup. |
Hi @leodevbro, sorry I had missed this. Let me look into it tomorrow and get back to you. |
Oh, it's ok. Thanks. Sure, I can wait many days or many weeks. I'm just trying to at least find out if this is possible without a big headache. |
@Kasendwa, Hi again, just wanted to ask, have you had any opportunity to have a look at it? I understand if you have limited time. |
I am stuck with the following issue. Can't even run a sample setup.
Platform - IOS
xCode Version - 12.3
Device - iPad
The text was updated successfully, but these errors were encountered: