Summary: Here I have an early version of the Navigation Plugin (Android) for Open Source. A lot of apps will be using there own Navigation framework for handling deep links. In order to keep things as simple as possible, recording navigation events is done through a single function that can be called from anywhere in the app. This will allow users to place this function in there own navigation frameworks and use there own logic with it. Seperately, I have shown how this can be used with our Android sample app. I use the built in Android intent-filters to provide a demo of how this can potentially be used, and to form the basis of the docs that I will write. Reviewed By: passy, danielbuechele Differential Revision: D16828049 fbshipit-source-id: 22765f63ca0c471689d2ec5865fdfc155b92697f
50 lines
2.0 KiB
XML
50 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
~ Copyright (c) Facebook, Inc. and its affiliates.
|
|
~
|
|
~ This source code is licensed under the MIT license found in the LICENSE
|
|
~ file in the root directory of this source tree.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.facebook.flipper.sample">
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
<application
|
|
android:name=".FlipperSampleApplication"
|
|
android:label="@string/app_name"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:allowBackup="false"
|
|
android:theme="@style/NoTitleBarWhiteBG"
|
|
android:debuggable="true">
|
|
<activity android:name=".MainActivity">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</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="flipper" android:host="demo_page" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".DeepLinkActivity">
|
|
<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="flipper" android:host="deep_link_activity" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity"
|
|
android:exported="true"/>
|
|
<activity android:name="com.facebook.flipper.connectivitytest.ConnectionTestActivity"
|
|
android:exported="true"/>
|
|
</application>
|
|
|
|
</manifest>
|