Skip to content

Commit

Permalink
preapre new release
Browse files Browse the repository at this point in the history
  • Loading branch information
sc85 committed Oct 30, 2020
1 parent c8a8fcc commit 6d96226
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,7 +31,7 @@ tns plugin add nativescript-pdf-view
```xml
<Page
xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:pdf="nativescript-pdf-view"
xmlns:pdf="@finanzritter/nativescript-pdf-view"
loaded="pageLoaded">
<pdf:PDFView src="{{ pdfUrl }}" load="{{ onLoad }}" />
</Page>
Expand All @@ -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);
```
Expand Down
2 changes: 1 addition & 1 deletion demo/app/App_Resources/Android/app.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
android {
defaultConfig {
generatedDensities = []
applicationId = "com.merott.nativescriptpdfviewdemo"
applicationId = "com.finanzritter.nativescript.pdfviewdemo"
}
aaptOptions {
additionalParameters "--no-version-vectors"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.merott.nativescriptpdfviewdemo"
package="com.finanzritter.nativescript.pdfviewdemo"
android:versionCode="1"
android:versionName="1.0">

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">PDF View Demo</string>
<string name="title_activity_kimera">PDF View Demo</string>
</resources>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">PDF View Demo</string>
<string name="title_activity_kimera">PDF View Demo</string>
</resources>
2 changes: 1 addition & 1 deletion demo/app/App_Resources/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<string>PDF View Demo</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand Down
1 change: 0 additions & 1 deletion demo/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' });

/*
Expand Down
2 changes: 1 addition & 1 deletion demo/nativescript.config.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 6d96226

Please sign in to comment.