Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Updated Example to run properly #55

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

finnholland
Copy link
Contributor

Updated the example in the project so that it works again, apparently it was broken.

Setting up the project can be done using npm pack && cd example && yarn or npm pack && cd example && yarn && cd ios && pod deintegrate && pod install

also made a suffix const and changed to react-native-permissions as it handles the permissions for android 12 well. (feel free to reject if you disagree)

android 12 cant use just fine location and needs fine grained tuning PERMISSIONS.ANDROID.BLUETOOTH_ADVERTISE, PERMISSIONS.ANDROID.BLUETOOTH_CONNECT, PERMISSIONS.ANDROID.BLUETOOTH_SCAN
@leodevbro
Copy link

@fhllnd, Thanks so much. It seems working. I'll continue testing and some experiments and keep you updated.

I have Android and Windows, but I don't have iPhone and Mac, so I guess I cannot test it on iOS easily. But anyway, I'll try to buy iPhone and Mac soon.

I come from ReactJS, but I am kinda new to React Native, I am learning it now, so, please forgive me for some beginner questions:

cd ios && pod deintegrate && pod install
I should run it anyway even if I am using Windows and Android, right? Because finally the code should be compiled into both: Android and iOS package, right?

@finnholland
Copy link
Contributor Author

finnholland commented Jul 7, 2023

Nah that's all good no need to run that if you're not doing iOS :)

edit
the commands also wont work on windows since they're mac only but if you needed to do iOS in prod or out of curiosity I've used VMWare for MacOS before and it was usable (a bit slow as it uses CPU only...) heres the link to unlock MacOS as it's behind a paid version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants