├── VRDeeplinkSample ├── app │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── layout │ │ │ │ └── activity_vrdeeplink_sample.xml │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── com │ │ │ └── facebook │ │ │ └── vrdeeplinksdk │ │ │ └── sample │ │ │ └── VRDeeplinkSampleActivity.java │ ├── libs │ │ └── VRDeepLinkSDK-release.aar │ ├── proguard-rules.pro │ └── build.gradle ├── settings.gradle ├── .gitignore ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── VRDeepLinkSDK ├── BUCK ├── res │ └── .README.txt ├── AndroidManifest.xml ├── build.gradle ├── src │ └── com │ │ └── facebook │ │ └── vrdeeplinksdk │ │ └── VRDeepLinkHelper.java └── test │ └── com │ └── facebook │ └── vrdeeplinksdk │ └── VRDeepLinkHelperTest.java ├── .gitignore ├── LICENSE ├── CONTRIBUTING.md └── README.md /VRDeeplinkSample/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /VRDeeplinkSample/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | VRDeeplinkSample 3 | 4 | -------------------------------------------------------------------------------- /VRDeeplinkSample/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/libs/VRDeepLinkSDK-release.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/app/libs/VRDeepLinkSDK-release.aar -------------------------------------------------------------------------------- /VRDeeplinkSample/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /VRDeepLinkSDK/BUCK: -------------------------------------------------------------------------------- 1 | android_library( 2 | name = 'vrdeeplinksdk', 3 | srcs = glob(['src/**/*.java']), 4 | deps = [ 5 | ], 6 | visibility = ['PUBLIC'] 7 | ) 8 | -------------------------------------------------------------------------------- /VRDeepLinkSDK/res/.README.txt: -------------------------------------------------------------------------------- 1 | This file is needed to make sure the res directory is present. 2 | The file is ignored by the Android toolchain because its name starts with a dot. 3 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/VRDeepLinkSDK/HEAD/VRDeeplinkSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /VRDeeplinkSample/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /VRDeepLinkSDK/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 8 | 9 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Lines that start with '#' are comments. 2 | # 3 | 4 | # Cached python scripts in bytecode form 5 | *.pyc 6 | 7 | # Gradle-related files 8 | .gradle 9 | /VRDeepLinkSDK/build/ 10 | /VRDeepLinkSDK/gen/ 11 | /VRDeepLinkSDK/out/ 12 | 13 | # Android Studio files 14 | .idea/ 15 | *.iml 16 | 17 | # Windows project files 18 | *.opensdf 19 | *.sdf 20 | *.vcxproj.user 21 | *.suo 22 | 23 | # Windows build artifacts 24 | 25 | # packed assets 26 | /*/packed/ 27 | /*/assets.pak 28 | 29 | # OSX 30 | .DS_Store 31 | .AppleDouble 32 | .LSOverride 33 | ._* 34 | 35 | # VIM swap files 36 | *.swp 37 | *.swo 38 | 39 | -------------------------------------------------------------------------------- /VRDeeplinkSample/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.0.0' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/wongchristopher/Documents/workspace/android-sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /VRDeeplinkSample/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /VRDeeplinkSample/app/build.gradle: -------------------------------------------------------------------------------- 1 | allprojects { 2 | repositories { 3 | mavenCentral() 4 | flatDir { 5 | dirs 'libs' 6 | } 7 | } 8 | } 9 | 10 | apply plugin: 'com.android.application' 11 | 12 | android { 13 | compileSdkVersion 23 14 | buildToolsVersion "23.0.3" 15 | 16 | defaultConfig { 17 | applicationId "com.facebook.vrdeeplinksdk.sample" 18 | minSdkVersion 19 19 | targetSdkVersion 23 20 | versionCode 1 21 | versionName "1.0" 22 | } 23 | buildTypes { 24 | release { 25 | minifyEnabled false 26 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 27 | } 28 | } 29 | } 30 | 31 | dependencies { 32 | compile fileTree(dir: 'libs', include: ['*.jar']) 33 | compile(name:'VRDeepLinkSDK-release', ext:'aar') 34 | testCompile 'junit:junit:4.12' 35 | compile 'com.android.support:appcompat-v7:23.1.1' 36 | } 37 | -------------------------------------------------------------------------------- /VRDeepLinkSDK/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenCentral() 4 | } 5 | dependencies { 6 | classpath 'com.android.tools.build:gradle:1.5.0' 7 | } 8 | } 9 | 10 | apply plugin: 'com.android.library' 11 | 12 | dependencies { 13 | compile 'com.android.support:support-annotations:22.2.0' 14 | testCompile 'junit:junit:4.12' 15 | testCompile 'org.mockito:mockito-core:1.10.19' 16 | testCompile 'org.robolectric:robolectric:3.0' 17 | testCompile 'org.robolectric:shadows-support-v4:3.0' 18 | } 19 | 20 | android { 21 | compileOptions { 22 | sourceCompatibility = "1.7" 23 | targetCompatibility = "1.7" 24 | } 25 | compileSdkVersion 23 26 | buildToolsVersion '23.0.1' 27 | 28 | sourceSets { 29 | main { 30 | manifest.srcFile 'AndroidManifest.xml' 31 | java.srcDirs = ['src'] 32 | } 33 | 34 | test { 35 | java { 36 | srcDirs = ["test"] 37 | } 38 | } 39 | } 40 | } 41 | 42 | allprojects { 43 | repositories { 44 | mavenCentral() 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016-present, Facebook, Inc. All rights reserved. 2 | 3 | You are hereby granted a non-exclusive, worldwide, royalty-free license to use, 4 | copy, modify, and distribute this software in source code or binary form for use 5 | in connection with the web services and APIs provided by Facebook. 6 | 7 | As with any software that integrates with the Facebook platform, your use of 8 | this software is subject to the Facebook Developer Principles and Policies 9 | [http://developers.facebook.com/policy/]. This copyright notice shall be 10 | included in all copies or substantial portions of the software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 14 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 15 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 16 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 17 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 18 | 19 | -------------------------------------------------------------------------------- /VRDeeplinkSample/app/src/main/res/layout/activity_vrdeeplink_sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 |