Comments (19)
Can you confirm that the values-de
directory was copied from the plugin into your Android project?
from cordova-plugin-android-fingerprint-auth.
Hallo @mjwheatley!
Hm...
- EXIST:
<project>/plugins/cordova-plugin-android-fingerprint-auth/res/android/values-de/fpauth-strings.xml
- in
<project>/platforms/android/res
not found...
platforms
android
.gradle
assets
build
cordova
cordova-plugin-crosswalk-webview
cordova-plugin-iroot
CordovaLib
gradle
libs
platform_www
res
drawable
. . .
values
values-es
values-fr
values-it
values-ja
values-no
values-pt
values-ru
values-zh
values-zh-rCN
values-zh-rHK
values-zh-rMO
values-zh-rSG
values-zh-rTW
xml
src
from cordova-plugin-android-fingerprint-auth.
You can manually copy the file to the appropriate directory or try removing and reinstalling the plugin. Just make sure the file is added to your project and that should resolve your issue.
from cordova-plugin-android-fingerprint-auth.
Hallo @mjwheatley
- reinstall can not help me...
values-de
was not copy automatically into platforms folder!
cordova --v
#6.5.0
npm -v
#4.3.0
cordova plugins list
#cordova-plugin-android-fingerprint-auth 1.2.5 "FingerprintAuth"
cordova platforms list
# Installed platforms:
# android 6.1.2
- remove and then add
android
platform -> same effect...de
-folder not found
it's a magic 😹 or....
from cordova-plugin-android-fingerprint-auth.
Hallo @mjwheatley
found ))
you forgot add this file in plugin.xml
<source-file src="res/android/values-it" target-dir="res" />
<source-file src="res/android/values-es" target-dir="res" />
<source-file src="res/android/values-ru" target-dir="res" />
<source-file src="res/android/values-fr" target-dir="res" />
<source-file src="res/android/values-zh" target-dir="res" />
<source-file src="res/android/values-zh-rCN" target-dir="res" />
<source-file src="res/android/values-zh-rHK" target-dir="res" />
<source-file src="res/android/values-zh-rMO" target-dir="res" />
<source-file src="res/android/values-zh-rSG" target-dir="res" />
<source-file src="res/android/values-zh-rTW" target-dir="res" />
<source-file src="res/android/values-no" target-dir="res" />
<source-file src="res/android/values-pt" target-dir="res" />
<source-file src="res/android/values-ja" target-dir="res" />
from cordova-plugin-android-fingerprint-auth.
I have published version 1.2.6 to fix this issue. Please update to the new version and verify that it resolves the problem for you. Thanks for helping to find the problem.
from cordova-plugin-android-fingerprint-auth.
It does not. This issue still exists, even when only installing the plugin:
Installing "cordova-plugin-android-fingerprint-auth" for android
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-android-fingerprint-auth':Error
at copyNewFile (/Users/USER/Projects/MY_PROJECT/platforms/android/cordova/lib/pluginHandlers.js:232:15)
at install (/Users/USER/Projects/MY_PROJECT/platforms/android/cordova/lib/pluginHandlers.js:37:17)
at ActionStack.process (/Users/USER/Projects/MY_PROJECT/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/Users/USER/Projects/MY_PROJECT/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:117:20)
at PluginManager.addPlugin (/Users/USER/Projects/MY_PROJECT/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:147:17)
at Api.addPlugin (/Users/USER/Projects/MY_PROJECT/platforms/android/cordova/Api.js:198:10)
at handleInstall (/Users/USER/Projects/MY_PROJECT/node_modules/cordova-lib/src/plugman/install.js:611:6)
at /Users/USER/Projects/MY_PROJECT/node_modules/cordova-lib/src/plugman/install.js:407:28
at _fulfilled (/Users/USER/Projects/MY_PROJECT/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/Users/USER/Projects/MY_PROJECT/node_modules/q/q.js:816:30)
Failed to restore plugin "cordova-plugin-android-fingerprint-auth" from config.xml. You might need to try adding it again. Error: Uh oh!
"/Users/USER/Projects/MY_PROJECT/platforms/android/res/values-de" already exists!
from cordova-plugin-android-fingerprint-auth.
Hi @lordgreg
my test now:
- install plugin in config.xml with
-- save
option - delete android platform
- install android platform
result:
values-de
exist inres
folder- no compile/install errors
from cordova-plugin-android-fingerprint-auth.
Hi @WuglyakBolgoink for your answer.
My test:
- install plugin with
--save
. - delete platform
cordova prepare
result:
- error above
from cordova-plugin-android-fingerprint-auth.
do you have this property in your config.xml
? because I can't reproduce your error...
<preference name="cordova-custom-config-autorestore" value="false" />
or try
- delete plugin with --save
- delete platform
- add platform
- add plugin with --save
- do "cordova prepare"
update
tested on a new project. install plugin was without any errors
from cordova-plugin-android-fingerprint-auth.
- I don't see the reason why I should use the preference you're mentioning above?
- My current cordova version is 6.3.1. What is yours?
- Why are you always adding platform? If you have the engine property in
config.xml
, cordova itself will install platform if it doesn't find the proper folder insideplatforms
? - What engine are you installing? I've tried with android 5.2.2 and 6.1.2 (cordova engines)
from cordova-plugin-android-fingerprint-auth.
- I use cordova-custom-config
- My Cordova - v6.5.0
- I always remove platforms/plugins with
--save
option. 😹 deep cleaning - Android - v6.1.2
from cordova-plugin-android-fingerprint-auth.
Interesting,
prepare doesn't work like that and I see it as conflict because, all other plugins that I use in the project:
<plugin name="com.mwaysolutions.cordova.webviewplugin" spec="https://github.com/mwaylabs/cordova-plugin-inappbrowser.git" />
<plugin name="cordova-plugin-x-toast" spec="~2.2.0" />
<plugin name="cordova-plugin-globalization" spec="~1.0.1" />
<plugin name="cordova-plugin-whitelist" spec="~1.0.0" />
<plugin name="phonegap-plugin-push" spec="~1.4.5" />
<plugin name="cordova-plugin-screen-orientation" spec="~1.4.0" />
<plugin name="cordova-plugin-appinfo" spec="~2.0.3" />
<plugin name="cordova-plugin-apteligent" spec="~3.1.0" />
<engine name="ios" spec="~4.3.1" />
<engine name="android" spec="~5.2.2" />
<plugin name="cordova-plugin-device" spec="~1.1.3" />
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
<plugin name="cordova-plugin-network-information" spec="~1.3.0" />
<plugin name="cordova-plugin-splashscreen" spec="~4.0.0" />
<plugin name="cordova-plugin-statusbar" spec="~2.2.0" />
<plugin name="cordova-plugin-touch-id" spec="~3.2.0" />
...work as charm. I'm sticking with 1.2.5 until this issue is resolved.
from cordova-plugin-android-fingerprint-auth.
Hi @lordgreg
Do you have always same error?
Failed to restore plugin "cordova-plugin-android-fingerprint-auth" from config.xml. You might need to try adding it again. Error: Uh oh!
"/Users/USER/Projects/MY_PROJECT/platforms/android/res/values-de" already exists!
from cordova-plugin-android-fingerprint-auth.
Always :) with last version that is.
from cordova-plugin-android-fingerprint-auth.
@lordgreg have you uninstalled and removed all plugin files from your project and then try reinstalling?
from cordova-plugin-android-fingerprint-auth.
@mjwheatley Thank you for responding.
I did. Before each test, I rimrafed plugins
and platforms
.
from cordova-plugin-android-fingerprint-auth.
@lordgreg please
- create a new cordova project
- add android platform
- add plugin
do you have same error? If no, then you have problem in your project folder and not with this plugin...
from cordova-plugin-android-fingerprint-auth.
If you are installed cordova-plugin-file and trying add cordova-plugin-android-fingerprint-auth to project first take a backup of following XML files in folders and remove it temporarily
- values-de --> multiimagechooser_strings_de
- values-ja --> multiimagechooser_strings_ja
- values-es --> multiimagechooser_strings_es
- values-fr --> multiimagechooser_strings_fr
Next : Install plugin
$ ionic plugin add cordova-plugin-android-fingerprint-auth
$ npm install --save @ionic-native/android-fingerprint-auth
And add the removed xml files to respective folders and build.
It's working 💯 % for me instead of removing and adding platforms.
Cheers 👍
from cordova-plugin-android-fingerprint-auth.
Related Issues (20)
- Mixed up configurations for encrypt and decrypt HOT 5
- Fingerprint popup box out of place on Samsung Galaxy S10+
- Gui translations are not applied. English is only language. HOT 1
- android.content.res.Resources$NotFoundException HOT 4
- FingerprintAuth is not defined HOT 1
- android.content.res.Resources$NotFoundException: HOT 1
- FaceID on new mobile devices HOT 1
- isAvailableSuccess response, what das it means? HOT 3
- Fatal Exception: java.lang.IllegalStateException: IV has already been used. Reusing IV in encryption mode violates security best practices.
- Multi-access HOT 3
- Deprecated FingerprintManager in API level 28 HOT 6
- BAD_PADDING_EXCEPTION after reinstall HOT 3
- A question about multiple users HOT 3
- Attempt to invoke virtual method HOT 2
- Cannot dismiss Fingerprint dialog HOT 1
- [IONIC] "Uncaught TypeError: object is not a function"
- Uses encryption mode CBC with PKCS7 padding
- setUserAuthenticationRequired true to false update not supporting Backup flow HOT 1
- Add support for newer android sdk's (starting from sdk 28).
- 请问encryptConfig中的clientId如何获取,可否提供操作步骤?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-android-fingerprint-auth.