Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript/flutter-example
Using Flutter with NativeScript including Bluetooth integration via @nativescript-community/ble
https://github.com/nativescript/flutter-example
android bluetooth dart flutter ios nativescript typescript
Last synced: 4 months ago
JSON representation
Using Flutter with NativeScript including Bluetooth integration via @nativescript-community/ble
- Host: GitHub
- URL: https://github.com/nativescript/flutter-example
- Owner: NativeScript
- Created: 2023-05-07T21:36:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-20T19:12:06.000Z (over 1 year ago)
- Last Synced: 2024-04-14T04:51:28.066Z (9 months ago)
- Topics: android, bluetooth, dart, flutter, ios, nativescript, typescript
- Language: Dart
- Homepage: https://blog.nativescript.org/combine-flutter-with-nativescript
- Size: 254 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Flutter](https://flutter.dev/) + [NativeScript](https://nativescript.org/) example to enable Bluetooth integration using [@nativescript-community/ble](https://github.com/nativescript-community/ble)
https://github.com/NativeScript/flutter-example/assets/457187/03c7d974-7c8b-4ac3-b172-cd9cf28aeb36
**Prerequisites:**
- [Flutter installed](https://docs.flutter.dev/get-started/install)
- [NativeScript installed](https://beta.docs.nativescript.org/setup/)## Try NativeScript with Flutter
```
ns debug
```Choose `ios` or `android`.
To run on Android, be sure you have built the module first:
```bash
cd flutter_views/.android./gradlew Flutter:assemble
```## Develop Flutter module
Run your Flutter module anytime to develop it further in isolation:
```
cd flutter_views
flutter run --debug
```