Coder Social home page Coder Social logo

danielebruni / nativescript-audioplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from notalib/nativescript-audioplayer

0.0 0.0 0.0 5.98 MB

Nativescript plugin, for background audio playlist playback

License: GNU Lesser General Public License v3.0

TypeScript 98.06% Ruby 0.12% Shell 1.82%

nativescript-audioplayer's Introduction

Nativescript plugin for Audio playback (WIP)

Usage

This plugin is prepared to allow you to test and try it out via the demo folder. Additionally it provides a proper .gitignore to keep GitHub tidy as well as .npmignore to ensure everyone is happy when you publish your plugin via npm.

Android Notification

The Android foreground notification channel can be customized via the string resource keys: tns_audioplayer_notification_title and tns_audioplayer_notification_desc. See the demo strings.xml for an example. The notification icon can be set by having a drawable named tns_audioplayer_small_icon or icon (checks in that order) in your App_Resources/Android/src/main/res.

Development:

Install typescript: npm install -g typescript

  1. Make changes to plugin files
  2. Make changes in demo that would test those changes out
  3. npm run demo.ios or npm run demo.android (must be run from the root directory)

Those demo tasks are just general helpers. You may want to have more granular control on the device and/or emulator you want to run. For that, you can just run things the manual way:

cd demo

// when developing, to ensure the latest code is built into the demo, it's a gaurantee to remove the plugin and add it back
tns plugin remove @nota/nativescript-audioplayer
tns plugin add ..

// manual platform adds
tns platform add ios
// and/or
tns platform add android

Then use any of the available options from the tns command line:

nativescript-audioplayer's People

Contributors

ddfreiling avatar m-abs avatar danielebruni avatar 838 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.