Skip to content

Commit

Permalink
Renamed package into @nota scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfreiling committed Jun 24, 2016
1 parent 01a504a commit 48e313c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 44 deletions.
2 changes: 1 addition & 1 deletion demo/app/main-view-model.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Observable} from 'data/observable';
import {AudioPlayer, Playlist, MediaTrack, PlaybackEventListener, PlaybackEvent} from 'nativescript-audioplayer';
import {AudioPlayer, Playlist, MediaTrack, PlaybackEventListener, PlaybackEvent} from '@nota/nativescript-audioplayer';

export class HelloWorldModel extends Observable implements PlaybackEventListener {
public message: string;
Expand Down
52 changes: 26 additions & 26 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"name": "nativescript-audioplayer-demo",
"version": "0.0.3",
"nativescript": {
"id": "org.nativescript.demo",
"tns-android": {
"version": "2.0.1"
},
"tns-ios": {
"version": "2.0.0"
}
},
"dependencies": {
"nativescript-audioplayer": "file:..",
"tns-core-modules": "~2.0.1"
},
"devDependencies": {
"babel-traverse": "6.9.0",
"babel-types": "6.9.1",
"babylon": "6.8.0",
"filewalker": "0.1.2",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.2",
"tns-platform-declarations": "^2.0.0",
"typescript": "^1.8.10"
}
}
"name": "nativescript-audioplayer-demo",
"version": "0.0.3",
"nativescript": {
"id": "org.nativescript.demo",
"tns-ios": {
"version": "2.0.1"
},
"tns-android": {
"version": "2.0.0"
}
},
"dependencies": {
"@nota/nativescript-audioplayer": "file:..",
"tns-core-modules": "~2.0.1"
},
"devDependencies": {
"babel-traverse": "6.9.0",
"babel-types": "6.9.1",
"babylon": "6.8.0",
"filewalker": "0.1.2",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.2",
"tns-platform-declarations": "^2.0.0",
"typescript": "^1.8.10"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nativescript-audioplayer",
"version": "0.0.7",
"description": "Fully featured AudioPlayer NativeScript plugin.",
"name": "@nota/nativescript-audioplayer",
"version": "0.0.8",
"description": "Fully featured AudioPlayer for NativeScript. Gapless playlist playback with playbackrate and platform-specific notification and remote controls during playback",
"nativescript": {
"platforms": {
"android": "2.0.0",
Expand All @@ -15,7 +15,7 @@
"demo.ios": "npm run prepdemo && cd demo && tns emulate ios",
"demo.android": "npm run prepdemo && cd demo && tns run android",
"prepdemo": "npm run build && npm run reload",
"reload": "cd demo && tns plugin remove nativescript-audioplayer && tns plugin add .. && tns install",
"reload": "cd demo && tns plugin remove @nota/nativescript-audioplayer && tns plugin add .. && tns install",
"apk": "cd demo && tns build android --copy-to .",
"gen.typings.ios": "cd demo && TNS_TYPESCRIPT_DECLARATIONS_PATH=\"$(pwd)/../gen-typings\" tns build ios && cd .. && cp gen-typings-i386/objc!LYTAudioPlayer.d.ts src/LYTAudioPlayer.gen.d.ts"
},
Expand Down
13 changes: 0 additions & 13 deletions platforms/android/include.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
android {
productFlavors {
'nativescript-audioplayer' {
dimension 'nativescript-audioplayer'

// Setting below requires 'android.useDeprecatedNdk=true' in user of plugin's platforms/android/gradle.properties file.
ndk {
abiFilters 'armeabi-v7a'//, 'mips'
}
}
}
}

dependencies {
compile 'dk.nota.lyt:libvlc-service:0.2.3'
// compile 'com.android.support:appcompat-v7:23+'
Expand Down

0 comments on commit 48e313c

Please sign in to comment.