Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

how to use it with ionic 2 #6

Closed
2 of 3 tasks
netinkumar opened this issue Jul 12, 2018 · 2 comments
Closed
2 of 3 tasks

how to use it with ionic 2 #6

netinkumar opened this issue Jul 12, 2018 · 2 comments

Comments

@netinkumar
Copy link

netinkumar commented Jul 12, 2018

I'm submitting a ... (check one with "x"):

  • bug report
  • feature request
  • documentation issue

Bug report

Current behavior:

Expected behavior:

Steps to reproduce:

Environment information

  • Cordova CLI version
    • cordova -v
  • Cordova platform version
    • cordova platform ls
  • Plugins & versions installed in project (including this plugin)
    • cordova plugin ls
  • Dev machine OS and version, e.g.
    • OSX
      • sw_vers
    • Windows 10
      • winver

Runtime issue

  • Device details
    • e.g. iPhone 7, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator
  • OS details
    • e.g. iOS 11.2, Android 8.1

Android build issue:

  • Node JS version
    • node -v
  • Gradle version
    • ls platforms/android/.gradle
  • Target Android SDK version
    • android:targetSdkVersion in AndroidManifest.xml
  • Android SDK details
    • sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

  • Node JS version
    • node -v
  • XCode version

If using an Ionic Native Typescript wrapper for this plugin:

  • Ionic environment info
    • ionic info
  • Installed Ionic Native modules and versions
    • npm list | grep "@ionic-native"

Related code:

insert any relevant code here such as plugin API calls / input parameters

Console output

console output

// Paste any relevant JS/native console output here



Other information:

Feature request

Documentation issue

@dpa99c
Copy link
Owner

dpa99c commented Jul 12, 2018

This plugin can be used with Ionic 2 in exactly the same way as any other Cordova plugin for which Ionic Native doesn't provide an explicit Typescript wrapper: by directly invoking its Javascript API.

If you don't know how to do this, this is not the place to ask for such support: ask on Ionic Forums or StackOverflow

@dpa99c dpa99c closed this as completed Jul 12, 2018
@jerodfritz
Copy link

@joshuamorony provides a nice overview here for those interested on how to use cordova plugins in Ionic https://www.youtube.com/watch?&v=7jwesIaAi3c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants