From 6d962268fa1282c0079ce779584bb1cd32ae8993 Mon Sep 17 00:00:00 2001 From: Sebastian Cordes Date: Fri, 30 Oct 2020 17:19:15 +0100 Subject: [PATCH] preapre new release --- README.md | 6 +++--- demo/app/App_Resources/Android/app.gradle | 2 +- demo/app/App_Resources/Android/src/main/AndroidManifest.xml | 2 +- .../Android/src/main/res/values-v21/strings.xml | 5 +++++ .../App_Resources/Android/src/main/res/values/strings.xml | 5 +++++ demo/app/App_Resources/iOS/Info.plist | 2 +- demo/app/app.ts | 1 - demo/nativescript.config.ts | 2 +- demo/package.json | 2 +- src/package-lock.json | 2 +- src/package.json | 2 +- 11 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 demo/app/App_Resources/Android/src/main/res/values-v21/strings.xml create mode 100644 demo/app/App_Resources/Android/src/main/res/values/strings.xml diff --git a/README.md b/README.md index 4f48d6a..8cbaeec 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ My aim is to keep the features consistent across iOS and Android. ## Installation ``` -tns plugin add nativescript-pdf-view +tns plugin add @finanzritter/nativescript-pdf-view ``` ## Usage @@ -31,7 +31,7 @@ tns plugin add nativescript-pdf-view ```xml @@ -40,7 +40,7 @@ tns plugin add nativescript-pdf-view ### Angular NativeScript ```ts -import { PDFView } from 'nativescript-pdf-view'; +import { PDFView } from '@finanzritter/nativescript-pdf-view'; import { registerElement } from 'nativescript-angular'; registerElement('PDFView', () => PDFView); ``` diff --git a/demo/app/App_Resources/Android/app.gradle b/demo/app/App_Resources/Android/app.gradle index b60bd0f..e31079f 100644 --- a/demo/app/App_Resources/Android/app.gradle +++ b/demo/app/App_Resources/Android/app.gradle @@ -1,7 +1,7 @@ android { defaultConfig { generatedDensities = [] - applicationId = "com.merott.nativescriptpdfviewdemo" + applicationId = "com.finanzritter.nativescript.pdfviewdemo" } aaptOptions { additionalParameters "--no-version-vectors" diff --git a/demo/app/App_Resources/Android/src/main/AndroidManifest.xml b/demo/app/App_Resources/Android/src/main/AndroidManifest.xml index 52ec977..f6dcd9b 100644 --- a/demo/app/App_Resources/Android/src/main/AndroidManifest.xml +++ b/demo/app/App_Resources/Android/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/demo/app/App_Resources/Android/src/main/res/values-v21/strings.xml b/demo/app/App_Resources/Android/src/main/res/values-v21/strings.xml new file mode 100644 index 0000000..b748210 --- /dev/null +++ b/demo/app/App_Resources/Android/src/main/res/values-v21/strings.xml @@ -0,0 +1,5 @@ + + + PDF View Demo + PDF View Demo + diff --git a/demo/app/App_Resources/Android/src/main/res/values/strings.xml b/demo/app/App_Resources/Android/src/main/res/values/strings.xml new file mode 100644 index 0000000..b748210 --- /dev/null +++ b/demo/app/App_Resources/Android/src/main/res/values/strings.xml @@ -0,0 +1,5 @@ + + + PDF View Demo + PDF View Demo + diff --git a/demo/app/App_Resources/iOS/Info.plist b/demo/app/App_Resources/iOS/Info.plist index ea3e3ea..78b336a 100644 --- a/demo/app/App_Resources/iOS/Info.plist +++ b/demo/app/App_Resources/iOS/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - ${PRODUCT_NAME} + PDF View Demo CFBundleExecutable ${EXECUTABLE_NAME} CFBundleInfoDictionaryVersion diff --git a/demo/app/app.ts b/demo/app/app.ts index cd3f078..3b434d1 100644 --- a/demo/app/app.ts +++ b/demo/app/app.ts @@ -5,7 +5,6 @@ purpose of the file is to pass control to the app’s first module. */ import { Application } from '@nativescript/core'; - Application.run({ moduleName: 'main-page' }); /* diff --git a/demo/nativescript.config.ts b/demo/nativescript.config.ts index 3dc99f0..20e5579 100644 --- a/demo/nativescript.config.ts +++ b/demo/nativescript.config.ts @@ -1,7 +1,7 @@ import { NativeScriptConfig } from '@nativescript/core' export default { - id: 'com.merott.nativescriptpdfviewdemo', + id: 'com.finanzritter.nativescript.pdfviewdemo', appResourcesPath: 'app/App_Resources', android: { v8Flags: '--expose_gc', diff --git a/demo/package.json b/demo/package.json index 51df5ac..344cb83 100644 --- a/demo/package.json +++ b/demo/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/Merott/nativescript-pdf-view.git" + "url": "https://github.com/FinanzRitter/nativescript-pdf-view.git" }, "dependencies": { "@finanzritter/nativescript-pdf-view": "file:../src", diff --git a/src/package-lock.json b/src/package-lock.json index 1a41fd8..1791ce9 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -1,6 +1,6 @@ { "name": "@finanzritter/nativescript-pdf-view", - "version": "2.1.3", + "version": "3.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/package.json b/src/package.json index 1103cea..7036b87 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "@finanzritter/nativescript-pdf-view", - "version": "2.1.3", + "version": "3.0.0", "description": "A basic PDF viewer plugin for NativeScript, to display PDF documents on iOS and Android.", "main": "pdf-view", "typings": "index.d.ts",