id | title | sidebar_label |
---|---|---|
androidwear |
Android Wear Platform |
Android Wear |
- Latest Android project
- Kotlin Support
- Support for Gradle 4.9
Extension | Type | Priority |
---|---|---|
androidwear.watch.js |
form factor |
1 |
watch.js |
form factor |
2 |
androidwear.js |
platform |
3 |
android.js |
platform |
4 |
watch.native.js |
fallback |
5 |
native.js |
fallback |
6 |
js |
fallback |
7 |
tsx |
fallback |
8 |
ts |
fallback |
9 |
- Android Studio for Android development
- Android SDK
23.0.1
or newer for Android development
Feature | Version |
---|---|
Gradle | 4.10.1 |
Android Gradle | 3.3.1 |
Kotlin | 1.3.20 |
Target SDK | 27 |
NOTE: make sure you have 1 android wear device connected or 1 wear emulator running
rnv run -p androidwear
NOTE: There is a bug in RN. for now you must NOT have running bundler ($ rnv start
) in order for wear sim to work
Clean and Re-build platform project
rnv run -p androidwear -r
Launch specific emulator:
rnv target launch -p androidwear -t Android_Wear_Round_API_28
androidX is enabled by default
make sure you have this piece of script in package.json
"scripts" : {
"postinstall": "jetify"
}
Hermes can be enabled or disabled with enableHermes
prop in renative.json:platforms.androidwear.enableHermes
or renative.json:platforms.androidwear.buildSchemes.[SCHEME].enableHermes