forked from robertolocal/cordova-plugin-fingerprint-aio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "2.0.0 biometricpromt and consistent callbacks"
- Loading branch information
1 parent
bbf24eb
commit 52abe99
Showing
39 changed files
with
1,385 additions
and
554 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
node_modules/ | ||
package-lock.json | ||
/.idea/$CACHE_FILE$ | ||
/.idea/.gitignore | ||
/.idea/cordova-plugin-fingerprint-aio.iml | ||
/.idea/misc.xml | ||
/.idea/modules.xml | ||
/.idea/inspectionProfiles/Project_Default.xml | ||
/.idea/vcs.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,43 @@ | ||
# This Travis configuration file is built after a Cordova Paramedic | ||
# specific template with minimal modifications and adaptations: | ||
# https://github.com/apache/cordova-paramedic/blob/master/.travis.yml | ||
|
||
sudo: false | ||
addons: | ||
jwt: | ||
secure: f0G7Z/0N1ACi5pFg32P4kr8tVd5EOADDne5a8/MtabGTjeH0/QZl+4xKIgemXle6BJn949Gqpx4+XkmaKmDHHfIsV+9GmLwqGpGSyQMMoeBI0Lfxzh8aecYDxfJKBYmdmpJcyG3yKa42nxQFEMIljf0NJEmNN8AAglsaSh5VQq2dlv1aXaoJz18dpgRVE1cJ4rvUJN+fOrZYjRsqw9ev+11J7cwRONsBB/Yx+56tsverD2uC4Xutj58CEaw7WRk4BLMqehkGO0/ez2Ofc9dBDfc4ZHqHxZMfqjYO5r95VFclyIgto9ToW2kazuK+NZMgaX5wEBp+ktVQGHQw+rRunANplJt14AXpu7Elpfp04Hb4qjBQTYCXellNJ1TgLJLhP6a3P4nTUBrZ9I5mjSGI8ckvUEb1066KyGJmMIPs64z6BJgDHd91PP+cDq6MqUm+n+m24l6Ou/iLDmxaEs6peEctx5A6hACnNwyyB5MEeqZVbksFkNoYw9pxbTj1bBtBbg5QRHC7+Bd8mrN12VOi2wA2N8dFgO3Np+sfZriq/CXfCPrDNYPX8IwF9HEkm2J+PLW1MD8Kx2XwALCqKjU6md0hKui5LdhNWlpAiNK/eBLtJEF2egaMkQw1JPQYxHIyAAi4yUSYYVd64hb9rgUSTNiywRddmKovBChiwiTsmFc= | ||
env: | ||
global: | ||
- SAUCE_USERNAME=NiklasMerz | ||
- TRAVIS_NODE_VERSION=8 | ||
- ANDROID_API_LEVEL=28 | ||
- ANDROID_BUILD_TOOLS_VERSION=28.0.3 | ||
|
||
language: node_js | ||
node_js: 8 | ||
|
||
# yaml anchor/alias: https://medium.com/@tommyvn/travis-yml-dry-with-anchors-8b6a3ac1b027 | ||
|
||
_ios: &_ios | ||
os: osx | ||
osx_image: xcode10.2 | ||
|
||
_android: &_android | ||
language: android | ||
os: linux | ||
jdk: oraclejdk8 | ||
android: | ||
components: | ||
- tools | ||
- build-tools-$ANDROID_BUILD_TOOLS_VERSION | ||
- android-$ANDROID_API_LEVEL | ||
licenses: | ||
- 'android-sdk-preview-license-.+' | ||
- 'android-sdk-license-.+' | ||
- 'google-gdk-license-.+' | ||
|
||
- SAUCE_USERNAME=NiklasMerz | ||
- TRAVIS_NODE_VERSION="lts/*" | ||
matrix: | ||
include: | ||
# local tests, without saucelabs | ||
- env: PLATFORM=local/ios-10.0 | ||
<<: *_ios | ||
|
||
# many tests with saucelabs | ||
|
||
- env: PLATFORM=ios-11.3 | ||
<<: *_ios | ||
- env: PLATFORM=ios-12.0 | ||
<<: *_ios | ||
|
||
- env: PLATFORM=android-8.1 | ||
<<: *_android | ||
- env: PLATFORM=android-9.0 | ||
<<: *_android | ||
|
||
- env: PLATFORM=android-7.0 | ||
os: linux | ||
language: android | ||
jdk: oraclejdk8 | ||
android: | ||
components: | ||
- tools | ||
- build-tools-26.0.2 | ||
- env: PLATFORM=ios-10.0 | ||
os: osx | ||
osx_image: xcode9.2 | ||
language: node_js | ||
node_js: 'lts/*' | ||
before_install: | ||
# manually install Node for `language: android` | ||
- if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi | ||
- node --version | ||
- if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi | ||
- if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi | ||
- npm install -g cordova | ||
# install paramedic if not running on paramedic repo | ||
- if ! [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then npm install -g github:apache/cordova-paramedic; fi | ||
|
||
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm | ||
&& git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm | ||
install $TRAVIS_NODE_VERSION | ||
- node --version | ||
- if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi | ||
- if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi | ||
- if [[ "$PLATFORM" =~ android ]]; then echo y | android update sdk -u --filter android-25,android-26; | ||
fi | ||
- git clone https://github.com/apache/cordova-paramedic /tmp/paramedic && pushd /tmp/paramedic | ||
&& npm install && popd | ||
- npm install -g [email protected] | ||
install: | ||
- npm install | ||
|
||
before_script: | ||
- | | ||
if [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then | ||
# when used in the cordova-paramedic repo | ||
TEST_COMMAND="npm run eslint" | ||
PARAMEDIC_PLUGIN_TO_TEST="./spec/testable-plugin/" | ||
PARAMEDIC_COMMAND="node main.js" | ||
else | ||
# when used in any other (plugin) repo | ||
TEST_COMMAND="npm test" | ||
PARAMEDIC_PLUGIN_TO_TEST=$(pwd) | ||
PARAMEDIC_COMMAND="cordova-paramedic" | ||
fi | ||
- PARAMEDIC_BUILDNAME=travis-$TRAVIS_REPO_SLUG-$TRAVIS_JOB_NUMBER | ||
- | | ||
echo "Variables now are set to:" | ||
echo "TEST_COMMAND=$TEST_COMMAND" | ||
echo "ADDITIONAL_TESTS=$ADDITIONAL_TESTS" | ||
echo "PARAMEDIC_COMMAND=$PARAMEDIC_COMMAND" | ||
echo "PLATFORM=$PLATFORM" | ||
echo "PARAMEDIC_PLUGIN_TO_TEST=$PARAMEDIC_PLUGIN_TO_TEST" | ||
echo "PARAMEDIC_BUILDNAME=$PARAMEDIC_BUILDNAME" | ||
- npm install | ||
script: | ||
- $TEST_COMMAND | ||
- if [[ "$ADDITIONAL_TESTS_DIR" != "" ]]; then | ||
cd $ADDITIONAL_TESTS_DIR && npm install && npm test; | ||
else | ||
$PARAMEDIC_COMMAND --config ./pr/$PLATFORM --plugin $PARAMEDIC_PLUGIN_TO_TEST --buildName $PARAMEDIC_BUILDNAME; | ||
fi | ||
- node /tmp/paramedic/main.js --config pr/$PLATFORM --plugin $(pwd) --shouldUseSauce | ||
--buildName travis-plugin-fingerprint-aio-$TRAVIS_JOB_NUMBER | ||
notifications: | ||
email: false | ||
slack: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2015 The Android Open Source Project | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License | ||
--> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="40.0dp" | ||
android:height="40.0dp" | ||
android:viewportWidth="40.0" | ||
android:viewportHeight="40.0"> | ||
<path | ||
android:pathData="M20.0,0.0C8.96,0.0 0.0,8.95 0.0,20.0s8.96,20.0 20.0,20.0c11.04,0.0 20.0,-8.95 20.0,-20.0S31.04,0.0 20.0,0.0z" | ||
android:fillColor="#F4511E"/> | ||
<path | ||
android:pathData="M21.33,29.33l-2.67,0.0l0.0,-2.67l2.67,0.0L21.33,29.33zM21.33,22.67l-2.67,0.0l0.0,-12.0l2.67,0.0L21.33,22.67z" | ||
android:fillColor="#FFFFFF"/> | ||
</vector> |
Oops, something went wrong.