-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAndroidManifestALLWearOS.xml
40 lines (32 loc) · 1.66 KB
/
AndroidManifestALLWearOS.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- this can not be ON in default manifest, device must be a watch, hence separate Manifest file required for wearables -->
<uses-feature android:name="android.hardware.type.watch" android:required="true" />
<supports-screens
android:anyDensity="true"
android:xlargeScreens="false"
android:largeScreens="false"
android:normalScreens="false"
android:smallScreens="true" />
<application>
<!-- Recommended for wearables
if not set to true, a WearOS connected to an iPhone will NOT see the app in the google play store
-->
<meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
<!-- allow WearOS app to be launched from phone app -->
<!--
<service android:name="com.doubleyellow.scoreboard.wear.DataLayerListenerService" android:exported="true">
<intent-filter>
<action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
<data android:scheme="wear" android:host="*" android:path="/start-activity" />
</intent-filter>
</service>
-->
</application>
<!--
https://developer.android.com/training/wearables/apps/standalone-apps
?? ==>
Note: To qualify for promotion in the Google Play Store on Wear (that is, in the on-watch Play Store), your app needs to function independently from a phone. iOS as well as Android support is required.
https://developer.android.com/distribute/best-practices/launch/distribute-wear
-->
</manifest>