android-ngn-stack/src/main/AndroidManifest.xml
c732d49e
 <?xml version="1.0" encoding="utf-8"?>
 <!--
   ~
74ca6d11
   ~ *  Copyright (C) 2020, University of the Basque Country (UPV/EHU)
c732d49e
   ~ *
   ~ * Contact for licensing options: <licensing-mcpttclient(at)mcopenplatform(dot)com>
   ~ *
   ~ * This file is part of MCOP MCPTT Client
   ~ *
   ~ * This is free software: you can redistribute it and/or modify it under the terms of
   ~ * the GNU General Public License as published by the Free Software Foundation, either version 3
   ~ * of the License, or (at your option) any later version.
   ~ *
   ~ * This is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
   ~ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   ~ * See the GNU General Public License for more details.
   ~ *
   ~ * You should have received a copy of the GNU General Public License along
   ~ * with this program; if not, write to the Free Software Foundation, Inc.,
   ~ * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     package="org.doubango.ngn"
     android:versionCode="2"
     android:versionName="2.0">
 
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
     <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     <uses-permission android:name="android.permission.CAMERA" />
     <uses-permission android:name="android.permission.WAKE_LOCK" />
     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
     <uses-permission android:name="android.permission.VIBRATE" />
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
     <uses-permission android:name="android.permission.READ_CONTACTS" />
     <uses-permission android:name="android.permission.WRITE_CONTACTS" />
     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
     <uses-permission android:name="android.permission.CALL_PHONE" />
     <uses-permission android:name="android.permission.RAISED_THREAD_PRIORITY" />
 
     <!-- Location permission -->
     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
 
     <uses-feature android:name="android.hardware.location.gps" />
     <uses-feature
         android:glEsVersion="0x00020000"
         android:required="false" />
     <uses-feature
         android:name="android.hardware.camera"
         android:required="false" />
     <uses-feature
         android:name="android.hardware.audio.low_latency"
         android:required="false" />
 
     <!-- <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="11" /> -->
     <application
         android:name=".NgnApplication"
         android:hardwareAccelerated="true"
         android:label="@string/app_name">
         <service android:name=".NgnNativeService" />
         <service
             android:name=".services.impl.location.LocationServer"
             android:enabled="true"
             android:exported="true" />
         <activity
             android:name="net.openid.appauth.RedirectUriReceiverActivity"
             tools:node="replace">
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
 
                 <action android:name="android.intent.action.SEND" />
 
                 <category android:name="android.intent.category.BROWSABLE" />
                 <!--
                   <data android:scheme="http"
                   android:host="httpbin.org"
                   android:path="/get"/>
                 -->
                 <!--                 <data android:scheme="com.google.codelabs.appauth.HANDLE_AUTHORIZATION_RESPONSE"/> -->
 
                 <data
                     android:host="192.168.16.181:8080"
                     android:path="/get"
                     android:scheme="http" />
             </intent-filter>
         </activity>
 
 
     </application>
 
 </manifest>