Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Commit

Permalink
Added compatibility for Chromebooks
Browse files Browse the repository at this point in the history
Source:
https://github.com/mattermost/android/blob/master/app/src/main/AndroidManifest.xml
incompatible permissions may be set to be not required for
Chromebooks-->
android:required=["false"]
Chromebook incompatible permissions:
https://developer.android.com/topic/arc/manifest.html
How to make permissions optional:
https://developer.android.com/guide/topics/manifest/uses-feature-element.html
  • Loading branch information
der-test committed May 8, 2017
1 parent 8aed4e7 commit 657764e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mattermost.mattermost">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<!-- for chromebooks -->
<uses-permission android:name="android.permission.CAMERA" android:required="false"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Expand Down

0 comments on commit 657764e

Please sign in to comment.