Skip to content

Instantly share code, notes, and snippets.

@Ochornma
Last active December 26, 2019 17:12
Show Gist options
  • Select an option

  • Save Ochornma/34f00bec8bfcd387be02346ae507e49a to your computer and use it in GitHub Desktop.

Select an option

Save Ochornma/34f00bec8bfcd387be02346ae507e49a to your computer and use it in GitHub Desktop.
Android manifest essential
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-feature android:name="android.hardware.type.watch" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application
android:allowBackup="true"
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true"
android:usesCleartextTraffic="true"
tools:targetApi="m">
<uses-library
android:name="com.google.android.wearable"
android:required="false" />
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<!--
Set to true if your app is Standalone, that is, it does not require the handheld
app to run.
-->
<meta-data
android:name="com.google.android.wearable.standalone"
android:value="true" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment