Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add deep link planet learning #4367

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
301 changes: 289 additions & 12 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
xmlns:tools="http://schemas.android.com/tools">

<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
Expand All @@ -19,7 +20,8 @@
<data android:mimeType="audio/*" />
</intent>
</queries>
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>

<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission
android:name="android.permission.BLUETOOTH"
android:required="false" />
Expand Down Expand Up @@ -61,11 +63,276 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="https"
android:host="planet.learning.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="http"
android:host="planet.learning.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="https"
android:host="planet.embakasi.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="http"
android:host="planet.embakasi.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="myapp" />
<data
android:host="tunnel.ole.org"
android:port="54380" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data
android:host="tunnel.ole.org"
android:port="54380" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="https"
android:host="planet.uriur.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="http"
android:host="planet.uriur.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="http"
android:host="planet.ruiru.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="https"
android:host="planet.ruiru.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="myapp" />
<data android:host="192.168.100.27" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="myapp" />
<data android:host="192.168.100.178" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="http"
android:host="192.168.68.126"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="myapp" />
<data android:host="192.168.88.10" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="https"
android:host="planet.egdirbmac.ole.org"
android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.somalia.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.somalia.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.vi.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.vi.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.earth.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.earth.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.cambridge.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.cambridge.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.gt" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.gt" />
<data android:pathPrefix="/eng/login" />
</intent-filter>
</activity>
<activity
android:name=".ui.sync.LoginActivity"
android:exported="false"
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard"/>
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard" />

<activity
android:name=".ui.userprofile.BecomeMemberActivity"
Expand All @@ -90,7 +357,8 @@
<activity
android:name=".ui.resources.AddResourceActivity"
android:theme="@style/AppTheme" />
<activity android:name=".ui.viewer.AudioPlayerActivity"
<activity
android:name=".ui.viewer.AudioPlayerActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ui.feedback.FeedbackDetailActivity"
Expand All @@ -101,26 +369,34 @@
android:label="@string/title_activity_dashboard"
android:windowSoftInputMode="adjustResize"
android:theme="@style/FullscreenTheme" />
<activity android:name=".ui.viewer.PDFReaderActivity"
<activity
android:name=".ui.viewer.PDFReaderActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.WebViewActivity"
<activity
android:name=".ui.viewer.WebViewActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.VideoPlayerActivity"
<activity
android:name=".ui.viewer.VideoPlayerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.ImageViewerActivity"
<activity
android:name=".ui.viewer.ImageViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.TextFileViewerActivity"
<activity
android:name=".ui.viewer.TextFileViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.MarkdownViewerActivity"
<activity
android:name=".ui.viewer.MarkdownViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.CSVViewerActivity"
<activity
android:name=".ui.viewer.CSVViewerActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ui.dictionary.DictionaryActivity"
android:theme="@style/AppTheme" />
<activity
android:name=".ui.SettingActivity"
android:theme="@style/AppTheme" />

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="org.ole.planet.myplanet.fileprovider"
Expand All @@ -130,7 +406,8 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<service android:name=".datamanager.MyDownloadService"
<service
android:name=".datamanager.MyDownloadService"
android:exported="false" />
</application>
</manifest>
Loading