Skip to content

Commit

Permalink
Undo scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfreiling committed Jun 27, 2016
1 parent 48e313c commit 923474c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 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 '@nota/nativescript-audioplayer';
import {AudioPlayer, Playlist, MediaTrack, PlaybackEventListener, PlaybackEvent} from 'nativescript-audioplayer';

export class HelloWorldModel extends Observable implements PlaybackEventListener {
public message: string;
Expand Down
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
},
"dependencies": {
"@nota/nativescript-audioplayer": "file:..",
"nativescript-audioplayer": "file:..",
"tns-core-modules": "~2.0.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@nota/nativescript-audioplayer",
"name": "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": {
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 @nota/nativescript-audioplayer && tns plugin add .. && tns install",
"reload": "cd demo && tns plugin remove 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
9 changes: 9 additions & 0 deletions platforms/android/include.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
android {
productFlavors {
'nativescript-audioplayer' {
dimension 'nativescript-audioplayer' {

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

0 comments on commit 923474c

Please sign in to comment.