-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ILLEGAL_BLOCK_SIZE_EXCEPTION on authentication with Backup option using device PIN/Pattern #88
Comments
Hi, I have the same problem. Any ideas how to fix this? |
According to #85 there is still an open issue if the backup code is used. For now, I have disabled the backup code, hopefully it get fixed. |
I'm getting the same problem as well when using the |
After debugging this issue with @walternicholas on issue#85 we discovered that different Android devices can handle the I have decided to remove the For version prior to 1.4.0, this issue can be resolved by setting |
When I attempt to "USE BACKUP" option (device's PIN unlock) to authenticate instead of fingerprint, I get ILLEGAL_BLOCK_SIZE_EXCEPTION. I am running the code in Google Pixel 7.1.2
I am using plugin version 1.3.1
Log : 7-24 14:26:25.256 24976-24976/com.example.Fingerprint I/chromium: [INFO:CONSOLE(73)] "FingerprintAuth Error: ILLEGAL_BLOCK_SIZE_EXCEPTION", source: file:///android_asset/www/js/index.js (73)
Below is my code:
`/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
*/
var app = {
// Application Constructor
initialize: function() {
document.addEventListener('deviceready', this.onDeviceReady.bind(this), false);
},
// deviceready Event Handler
//
// Bind any cordova events here. Common events are:
// 'pause', 'resume', etc.
onDeviceReady: function() {
this.receivedEvent('deviceready');
},
// Update DOM on a Received Event
receivedEvent: function(id) {
var parentElement = document.getElementById(id);
var listeningElement = parentElement.querySelector('.listening');
var receivedElement = parentElement.querySelector('.received');
}
};
app.initialize();`
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: