diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f94ab8a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +before_install: nvm install 12 +install: npm ci + +matrix: + include: + - language: android + dist: trusty + android: + components: + - tools + - build-tools-28.0.3 + - android-28 + before_script: + - cd android + script: ./gradlew build test + + - language: objective-c + osx_image: 'xcode11.2' + xcode_workspace: ios/Plugin.xcworkspace + xcode_scheme: Plugin + xcode_destination: platform=iOS Simulator,OS=13.2,name=iPhone X + install: + - npm ci + - pod install --project-directory=ios diff --git a/README.md b/README.md index f51c6ae..866fcd3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# capacitor-branch-deep-links +# capacitor-branch-deep-links + +[![Build Status](https://travis-ci.org/boundstate/capacitor-branch-deep-links.svg?branch=master)](https://travis-ci.org/boundstate/capacitor-branch-deep-links) Capacitor plugin for [branch.io](https://branch.io/) deep links. diff --git a/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java b/android/src/androidTest/java/co/boundstate/android/ExampleInstrumentedTest.java similarity index 84% rename from android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java rename to android/src/androidTest/java/co/boundstate/android/ExampleInstrumentedTest.java index 1d58c77..0192651 100644 --- a/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +++ b/android/src/androidTest/java/co/boundstate/android/ExampleInstrumentedTest.java @@ -1,4 +1,4 @@ -package com.getcapacitor.android; +package co.boundstate.android; import android.content.Context; import android.support.test.InstrumentationRegistry; @@ -21,6 +21,6 @@ public void useAppContext() throws Exception { // Context of the app under test. Context appContext = InstrumentationRegistry.getTargetContext(); - assertEquals("com.getcapacitor.android", appContext.getPackageName()); + assertEquals("co.boundstate.android", appContext.getPackageName()); } } diff --git a/android/src/test/java/com/getcapacitor/ExampleUnitTest.java b/android/src/test/java/co/boundstate/ExampleUnitTest.java similarity index 93% rename from android/src/test/java/com/getcapacitor/ExampleUnitTest.java rename to android/src/test/java/co/boundstate/ExampleUnitTest.java index 06806a7..de9cb72 100644 --- a/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +++ b/android/src/test/java/co/boundstate/ExampleUnitTest.java @@ -1,4 +1,4 @@ -package com.getcapacitor; +package co.boundstate; import org.junit.Test; @@ -14,4 +14,4 @@ public class ExampleUnitTest { public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } -} \ No newline at end of file +} diff --git a/ios/Plugin.xcodeproj/xcshareddata/xcschemes/Plugin.xcscheme b/ios/Plugin.xcodeproj/xcshareddata/xcschemes/Plugin.xcscheme new file mode 100644 index 0000000..8618fcc --- /dev/null +++ b/ios/Plugin.xcodeproj/xcshareddata/xcschemes/Plugin.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Plugin.xcodeproj/xcshareddata/xcschemes/PluginTests.xcscheme b/ios/Plugin.xcodeproj/xcshareddata/xcschemes/PluginTests.xcscheme new file mode 100644 index 0000000..241d028 --- /dev/null +++ b/ios/Plugin.xcodeproj/xcshareddata/xcschemes/PluginTests.xcscheme @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + +