Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant run example #21

Open
diogoviannaaraujo opened this issue Jan 30, 2017 · 4 comments
Open

Cant run example #21

diogoviannaaraujo opened this issue Jan 30, 2017 · 4 comments

Comments

@diogoviannaaraujo
Copy link

My example does not run, after run-ios i get a crash:

An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

@twilco
Copy link

twilco commented Feb 2, 2017

I'm encountering the same issue.

@aaaddduuu
Copy link

You can try ‘react-native upgrade’.I use this command to solve the problem

@rusel1989
Copy link
Owner

I have been developing mostly for android for last couple of months, so iOS version might be buggy.
Unfortunately I am pretty busy so PRs are welcomed 😉

@LingboTang
Copy link

@aduroidpc I used that command to solve the problem, however, the example posted here is still outdated, it does not work with latest version of react-native 0.51, we can build it, but we can't successful run it on devices.

@rusel1989 , there are couple of things you probably need to update for your example.

  1. You need to change the route of your application in index.js, you are importing App from ./src/App.js which should be BluetoothSerialExample.

  2. NativeModule cannot resolve BluetoothSerial, I haven't figure out what the real cause is, so please look at it.

I would like to use bluetooth serial once its up-to-date again. I've used the phoneGap version before for Android, it works well. I would use this for ios as well.

Shhzdmrz added a commit to Shhzdmrz/react-native-bluetooth-serial that referenced this issue Dec 12, 2018
fixed rusel1989#21, fixed rusel1989#45, fixed rusel1989#55, fixed rusel1989#67, closes rusel1989#94.

1. Upgraded the project to remove: > WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018
2. Upgraded the SDK build tools to remove:
> WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.
Android SDK Build Tools 27.0.3 will be used.
3.  Removed deprecated @OverRide from RCTBluetoothSerialPackage file.
4. Upgraded the example to support React Native 0.57.0
5. Tested on Android only.
@Shhzdmrz Shhzdmrz mentioned this issue Dec 12, 2018
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 a pull request may close this issue.

5 participants