@regulaforensics/ionic-native-document-reader 9.7.589-beta → 9.7.591-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/example/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<widget android-packageName="com.regula.dr.fullauthrfid" ios-CFBundleIdentifier="regula.DocumentReader" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
|
3
3
|
<name>DocumentReader</name>
|
|
4
4
|
<platform name="android">
|
|
5
|
-
<resource-file src="
|
|
5
|
+
<resource-file src="src/assets/db.dat" target="app/src/main/assets/Regula/db.dat"/>
|
|
6
6
|
<preference name="orientation" value="portrait" />
|
|
7
7
|
<preference name="AndroidEdgeToEdge" value="true" />
|
|
8
8
|
<config-file parent="/*" target="AndroidManifest.xml">
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</edit-config>
|
|
15
15
|
</platform>
|
|
16
16
|
<platform name="ios">
|
|
17
|
-
<resource-file src="
|
|
17
|
+
<resource-file src="src/assets/db.dat" />
|
|
18
18
|
<preference name="deployment-target" value="14.0" />
|
|
19
19
|
<preference name="orientation" value="portrait" />
|
|
20
20
|
<allow-intent href="itms:*" />
|
package/example/package.json
CHANGED
|
@@ -13,14 +13,13 @@
|
|
|
13
13
|
},
|
|
14
14
|
"private": true,
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/ionic-native-document-reader": "9.7.
|
|
16
|
+
"@regulaforensics/ionic-native-document-reader": "9.7.591-beta",
|
|
17
17
|
"@regulaforensics/cordova-plugin-document-reader-api": "9.7.655-beta",
|
|
18
18
|
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.7.2829-beta",
|
|
19
19
|
"cordova-plugin-camera": "8.0.0",
|
|
20
20
|
"@awesome-cordova-plugins/camera": "9.2.0",
|
|
21
21
|
"@awesome-cordova-plugins/core": "9.2.0",
|
|
22
22
|
"@awesome-cordova-plugins/file": "9.2.0",
|
|
23
|
-
"@awesome-cordova-plugins/splash-screen": "9.2.0",
|
|
24
23
|
"@awesome-cordova-plugins/status-bar": "9.2.0",
|
|
25
24
|
"@angular/common": "22.0.5",
|
|
26
25
|
"@angular/core": "22.0.5",
|
|
@@ -55,7 +54,6 @@
|
|
|
55
54
|
"cordova-plugin-device": "3.0.0",
|
|
56
55
|
"cordova-plugin-ionic-keyboard": "2.2.0",
|
|
57
56
|
"cordova-plugin-ionic-webview": "5.0.1",
|
|
58
|
-
"cordova-plugin-splashscreen": "6.0.2",
|
|
59
57
|
"cordova-plugin-statusbar": "4.0.0",
|
|
60
58
|
"jasmine-core": "6.3.0",
|
|
61
59
|
"jasmine-spec-reporter": "7.0.0",
|
|
@@ -78,7 +76,6 @@
|
|
|
78
76
|
"cordova-plugin-file": {},
|
|
79
77
|
"cordova-plugin-statusbar": {},
|
|
80
78
|
"cordova-plugin-device": {},
|
|
81
|
-
"cordova-plugin-splashscreen": {},
|
|
82
79
|
"cordova-plugin-ionic-webview": {},
|
|
83
80
|
"cordova-plugin-ionic-keyboard": {}
|
|
84
81
|
},
|
|
@@ -2,18 +2,16 @@ import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
|
2
2
|
import { TestBed, async } from '@angular/core/testing';
|
|
3
3
|
|
|
4
4
|
import { Platform } from '@ionic/angular';
|
|
5
|
-
import { SplashScreen } from '@awesome-cordova-plugins/splash-screen/ngx';
|
|
6
5
|
import { StatusBar } from '@awesome-cordova-plugins/status-bar/ngx';
|
|
7
6
|
|
|
8
7
|
import { AppComponent } from './app.component';
|
|
9
8
|
|
|
10
9
|
describe('AppComponent', () => {
|
|
11
10
|
|
|
12
|
-
let statusBarSpy,
|
|
11
|
+
let statusBarSpy, platformReadySpy, platformSpy;
|
|
13
12
|
|
|
14
13
|
beforeEach(async(() => {
|
|
15
14
|
statusBarSpy = jasmine.createSpyObj('StatusBar', ['styleDefault']);
|
|
16
|
-
splashScreenSpy = jasmine.createSpyObj('SplashScreen', ['hide']);
|
|
17
15
|
platformReadySpy = Promise.resolve();
|
|
18
16
|
platformSpy = jasmine.createSpyObj('Platform', { ready: platformReadySpy });
|
|
19
17
|
|
|
@@ -22,7 +20,6 @@ describe('AppComponent', () => {
|
|
|
22
20
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
23
21
|
providers: [
|
|
24
22
|
{ provide: StatusBar, useValue: statusBarSpy },
|
|
25
|
-
{ provide: SplashScreen, useValue: splashScreenSpy },
|
|
26
23
|
{ provide: Platform, useValue: platformSpy },
|
|
27
24
|
],
|
|
28
25
|
}).compileComponents();
|
|
@@ -39,7 +36,6 @@ describe('AppComponent', () => {
|
|
|
39
36
|
expect(platformSpy.ready).toHaveBeenCalled();
|
|
40
37
|
await platformReadySpy;
|
|
41
38
|
expect(statusBarSpy.styleDefault).toHaveBeenCalled();
|
|
42
|
-
expect(splashScreenSpy.hide).toHaveBeenCalled();
|
|
43
39
|
});
|
|
44
40
|
|
|
45
41
|
// TODO: add more tests!
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
|
|
3
3
|
import { Platform } from '@ionic/angular';
|
|
4
|
-
import { SplashScreen } from '@awesome-cordova-plugins/splash-screen/ngx';
|
|
5
4
|
import { StatusBar } from '@awesome-cordova-plugins/status-bar/ngx';
|
|
6
5
|
|
|
7
6
|
@Component({
|
|
@@ -12,7 +11,6 @@ import { StatusBar } from '@awesome-cordova-plugins/status-bar/ngx';
|
|
|
12
11
|
export class AppComponent {
|
|
13
12
|
constructor(
|
|
14
13
|
private platform: Platform,
|
|
15
|
-
private splashScreen: SplashScreen,
|
|
16
14
|
private statusBar: StatusBar
|
|
17
15
|
) {
|
|
18
16
|
this.initializeApp();
|
|
@@ -21,7 +19,6 @@ export class AppComponent {
|
|
|
21
19
|
initializeApp() {
|
|
22
20
|
this.platform.ready().then(() => {
|
|
23
21
|
this.statusBar.styleDefault();
|
|
24
|
-
this.splashScreen.hide();
|
|
25
22
|
});
|
|
26
23
|
}
|
|
27
24
|
}
|
|
@@ -3,7 +3,6 @@ import { BrowserModule } from '@angular/platform-browser';
|
|
|
3
3
|
import { RouteReuseStrategy } from '@angular/router';
|
|
4
4
|
|
|
5
5
|
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
|
|
6
|
-
import { SplashScreen } from '@awesome-cordova-plugins/splash-screen/ngx';
|
|
7
6
|
import { StatusBar } from '@awesome-cordova-plugins/status-bar/ngx';
|
|
8
7
|
|
|
9
8
|
import { AppComponent } from './app.component';
|
|
@@ -15,7 +14,6 @@ import { AppRoutingModule } from './app-routing.module';
|
|
|
15
14
|
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule],
|
|
16
15
|
providers: [
|
|
17
16
|
StatusBar,
|
|
18
|
-
SplashScreen,
|
|
19
17
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
|
|
20
18
|
],
|
|
21
19
|
bootstrap: [AppComponent]
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"lint": "eslint"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@regulaforensics/ionic-native-document-reader": "9.7.
|
|
15
|
+
"@regulaforensics/ionic-native-document-reader": "9.7.591-beta",
|
|
16
16
|
"@regulaforensics/cordova-plugin-document-reader-api": "9.7.655-beta",
|
|
17
17
|
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.7.2829-beta",
|
|
18
18
|
"@awesome-cordova-plugins/camera": "6.6.0",
|