0.0.9 • Published 6 years ago

ionic-meumobi-utils v0.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ionic-meumobi-utils

The purpose of this package is help to share generic modules between ionic apps. In order improve efficiency and quality. Reducing dependencies, allowing developers to code just the necessary in each app.

Setup Library

$ npm install --save ionic-meumobi-utils

FilesProvider

This provides a service to manipulate files on ionic apps (mobile and web).

Native (iOS/Android)

  • Download/abort multiple files at same time;
  • Access/delete files on device app storage;

Native/Web

  • If a file is not able to download it allows to open the url (Ex: InAppBrowser for example);
    In order to see a working demo check here.

Import Modules

import { FilesProvider } from 'ionic-meumobi-utils';

@NgModule({
  declarations: [...],
  imports: [
    IonicModule.forRoot(MyApp),
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    HomePage
  ],
  providers: [
    FilesProvider
  ]
})
export class AppModule {}