Added Android code
[wl-app.git] / Android / app / src / main / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest package="com.moiseum.wolnelektury"
3           xmlns:android="http://schemas.android.com/apk/res/android">
4
5     <uses-permission android:name="android.permission.INTERNET"/>
6     <uses-permission android:name="android.permission.WAKE_LOCK"/>
7     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
8
9     <application
10         android:name=".base.WLApplication"
11         android:allowBackup="true"
12         android:icon="@mipmap/ic_launcher"
13         android:label="@string/app_name"
14         android:supportsRtl="true"
15         android:theme="@style/WLAppTheme">
16         <activity
17             android:name=".view.splash.SplashActivity"
18             android:screenOrientation="userPortrait"
19             android:theme="@style/WLAppTheme.NoActionBar">
20             <intent-filter>
21                 <action android:name="android.intent.action.MAIN"/>
22
23                 <category android:name="android.intent.category.LAUNCHER"/>
24             </intent-filter>
25         </activity>
26         <activity
27             android:name=".view.main.MainActivity"
28             android:launchMode="singleInstance"
29             android:screenOrientation="userPortrait">
30             <intent-filter>
31                 <action android:name="android.intent.action.VIEW"/>
32
33                 <category android:name="android.intent.category.DEFAULT"/>
34                 <category android:name="android.intent.category.BROWSABLE"/>
35
36                 <data
37                     android:host="oauth.callback"
38                     android:scheme="wolnelekturyapp"/>
39
40                 <data
41                     android:host="paypal_return"
42                     android:scheme="wolnelekturyapp"/>
43
44                 <data
45                     android:host="paypal_error"
46                     android:scheme="wolnelekturyapp"/>
47             </intent-filter>
48         </activity>
49         <activity
50             android:name=".view.book.BookActivity"
51             android:screenOrientation="userPortrait"
52             android:theme="@style/WLAppTheme.NoActionBar"/>
53         <activity
54             android:name=".view.player.PlayerActivity"
55             android:screenOrientation="userPortrait"
56             android:theme="@style/WLAppTheme.NoActionBar"/>
57         <activity
58             android:name=".view.search.filter.FilterActivity"
59             android:screenOrientation="userPortrait"/>
60         <activity
61             android:name="com.folioreader.ui.folio.activity.FolioActivity"
62             android:configChanges="orientation|screenSize"
63             android:label="@string/app_name"
64             android:theme="@style/WLAppTheme.NoActionBar"/>
65         <activity
66             android:name=".view.WebViewActivity"
67             android:screenOrientation="userPortrait"/>
68         <activity
69             android:name=".view.supportus.SupportUsActivity"
70             android:screenOrientation="userPortrait"/>
71         <activity
72             android:name=".view.book.list.BookListActivity"
73             android:screenOrientation="userPortrait"/>
74         <activity
75             android:name=".view.news.single.NewsActivity"
76             android:screenOrientation="userPortrait"
77             android:theme="@style/WLAppTheme.NoActionBar"/>
78         <activity
79             android:name=".view.news.zoom.ZoomActivity"
80             android:screenOrientation="userPortrait"
81             android:theme="@style/WLAppTheme.NoActionBar"/>
82         <activity
83             android:name=".view.login.LoginActivity"
84             android:screenOrientation="userPortrait"
85             android:theme="@style/WLAppTheme.NoActionBar"/>
86
87         <service
88             android:name=".connection.downloads.FileDownloadIntentService"
89             android:exported="false"/>
90         <service
91             android:name=".view.player.service.AudiobookService"
92             android:enabled="true"
93             android:exported="true">
94             <intent-filter>
95                 <action android:name="android.media.browse.MediaBrowserService"/>
96             </intent-filter>
97         </service>
98         <service
99             android:name=".connection.WolneLekturyFirebaseMessagingService">
100             <intent-filter>
101                 <action android:name="com.google.firebase.MESSAGING_EVENT"/>
102             </intent-filter>
103         </service>
104
105         <receiver android:name="android.support.v4.media.session.MediaButtonReceiver">
106             <intent-filter>
107                 <action android:name="android.intent.action.MEDIA_BUTTON"/>
108             </intent-filter>
109         </receiver>
110
111         <meta-data
112             android:name="io.fabric.ApiKey"
113             android:value=""/>
114         <meta-data
115             android:name="com.google.firebase.messaging.default_notification_icon"
116             android:resource="@drawable/ic_notification"/>
117         <meta-data
118             android:name="com.google.firebase.messaging.default_notification_color"
119             android:resource="@color/colorAccent"/>
120         <meta-data
121             android:name="com.google.firebase.messaging.default_notification_channel_id"
122             android:value="@string/default_notification_channel_id"/>
123
124     </application>
125
126 </manifest>