Commit Graph

826 Commits

Author SHA1 Message Date
Alex Muramoto a438967336 feat(geofence): Adds geofence plugin (#442)
* Fixes syntax error in usage example, and improves usage formatting

* Moves error codes into usage section

* Adds basics of geofence plugin

* Updates exports to include Geofence

* Adds geofence docs and tested functions

* Corrects promise types and comments out unimplemented functions

* Minor updates to geofence

* Reverts camera-preview changes for this branch to master
2016-08-26 08:06:36 -04:00
Ibrahim Hadeed 47a9b34ea2 feat(diagnostic): add full plugin functionality (#424)
* feat(diagnostic): add full plugin functionality

closes #224

* docs(): calendar methods (#476)

* feat(diag): add constants
2016-08-26 08:06:04 -04:00
Ibrahim Hadeed 8c059fc1d0 fix conflict 2016-08-26 07:53:18 -04:00
Matt Lewis dd39ba8c48 feat(IsDebug): add the IsDebug plugin (#475) 2016-08-26 05:16:20 -04:00
Daniel Salvagni aa76fac3af docs(screenshot): fixes Screenshot spelling on the example code (#480)
Screenshot was spelling wrong: `Screneshot`.
2016-08-26 05:14:57 -04:00
Daniel Salvagni e4f198ae42 docs(screen-orientation): fixes the advanced table info (#481) 2016-08-26 05:14:32 -04:00
Mike Hartington dfdaa157a4 docs(screenOrientation): update docs 2016-08-23 14:13:57 -04:00
Mike Hartington ea58a78f62 docs(backgroundMode): update docs 2016-08-23 12:47:11 -04:00
Ibrahim Hadeed 2510c5fd4a fix(nativeaudio): fix plugin reference 2016-08-22 21:45:37 -04:00
Ramon Henrique Ornelas ed8c67ce7e chore(): tslint (#466)
* fix src tslint gulp ionic

* - fix errors tslint
2016-08-22 18:19:43 -04:00
Robert Coie 16628a49f7 fix(file): initialize writeFile options (#468) 2016-08-22 18:18:53 -04:00
Aaron Czichon 38ff6f2a32 docs(onesignal): updated the OneSignal docs (#467) 2016-08-22 18:18:23 -04:00
Fabien Duthu af39282191 Removed 'public' before the property names and cleaned c/p extra docs 2016-08-22 15:37:51 +02:00
Alex Muramoto eab0bf44b2 refractor(media): change MediaError to interface, and error codes to static members (#463) 2016-08-21 10:42:11 -04:00
Alex Muramoto 55ba65ac68 fix(camera-preview): changes implementation to match Cordova plugin (#441)
* Removes preview settings from options obj and creates proper rect interface

* Changes startCamera() signature to match plugin

* Adds alpha to function signature

* Removes CameraPreviewOptions and CameraPreviewSize interfaces that don't match plugin

* Adds back CameraPreviewSize interface - oops

* Updates docs for startCamera()

* Changes CameraPreviewSize interface to Size to match plugin

* Adds docs for takePicture

* Reverts change to signature of setOnPictureTakenHandler

* Adds CameraPreview prefix to interfaces
2016-08-19 09:10:05 -04:00
Matt Lewis f3e698f1be feat(instagram): add instagram sharing plugin (#453)
Closes #307
2016-08-19 09:08:05 -04:00
David Störcher 14e41a31ef fix(file): fixes exclusive option (#459)
Exclusive means that the file will not be Overridden so it has to be set if replace is False.
2016-08-19 09:07:32 -04:00
Alex Muramoto 62bcd313e3 docs(file): adds Entry to types returned in File.moveDir promise (#456) 2016-08-19 07:06:17 -04:00
Matt Lewis 7a53013819 feat(VideoEditor): add video editor plugin. (#457)
Closes #316
2016-08-19 07:05:11 -04:00
Alex Muramoto 4a0f082158 Feat(twitter): adds showUser() (#454) 2016-08-19 07:00:05 -04:00
Kevin Boosten 4e87ac72ea fix(): add the reject function at the expected errorIndex position in the args array (#436)
We don't want that the reject cb takes the position of an optional
argument that has not been defined
For example the Dialogs.alert method takes an optional 'buttonLabel'
string. In case we do not set this value, and thus want to use the
default value, the 'reject'
callback get spliced into this position due the fact that the splice
start index is bigger than the array length.
Dialogs.alert("title", "message", "My button text") --> args =
["title",  resolve, "message", "My button text", reject]
Dialogs.alert("title", "message") -->  args = ["title", resolve,
"message", reject] --> reject is on the position of the buttontitle!

The cordova-plugin-dialogs alert function receives the wrong arguments
—> alert: function(message, completeCallback, title, buttonLabel)
The buttonLabel will receive the "reject" callback instead of a
undefined value.
2016-08-17 07:34:11 -04:00
Ibrahim Hadeed 95e256293f docs(barcodescanner): update docs
addresses #260
2016-08-17 07:28:21 -04:00
Jochen Bedersdorfer abd706f435 refractor(file): additions to documentation and type definitions for File plugin (#446)
* Additions to documentations and type definitions

Added return types to documentation as well as modified return type definition to match actual types returned.
Used union types for promises where applicable.

Builds and gulp docs ok.

* Update file.ts
2016-08-17 03:11:10 -04:00
Ramon Henrique Ornelas 9a2ea25308 style(): fix angular style (#434) 2016-08-16 00:53:15 -04:00
Ibrahim Hadeed 8bc499f221 fix(photo-viewer): method is static 2016-08-15 13:37:24 -04:00
Ibrahim Hadeed bcd46eea9d Merge branch 'master' of https://github.com/driftyco/ionic-native 2016-08-15 11:49:08 -04:00
Ibrahim Hadeed 689bfd9568 feat(google-analytics): add missing functions 2016-08-15 11:48:40 -04:00
Christopher Manouvrier dcf3ab2787 feat(TTS): add tts plugin (#431)
* Initial Pass at TTS

* Rename and fix index

* Remove unnecessary window in reference

closes #311
2016-08-15 09:29:51 -04:00
Ibrahim Hadeed e34f94e0c1 feat(zip): add zip plugin (#430)
closes #421
2016-08-15 05:10:43 -04:00
Ibrahim Hadeed 203d4c7669 feat(shake): add Shake plugin (#426)
closes #313
2016-08-15 03:58:34 -04:00
Ibrahim Hadeed 8cd6686803 feat(native-audio): Add native audio plugin (#427)
closes #315
2016-08-15 03:58:20 -04:00
Ibrahim Hadeed aaddd9eea2 fix(datepicker): date now accepts Date, string, or number (#428)
closes #354
2016-08-15 03:58:06 -04:00
Ibby Hadeed 1e300ae35f add otherPromise option to decorator 2016-08-15 01:15:20 -04:00
Ibby Hadeed 4b08d854bd fix(inappbrowser): fix event listener 2016-08-13 11:30:52 -04:00
Ibby Hadeed b8d7806843 Merge branch 'master' of https://github.com/driftyco/ionic-native 2016-08-13 11:21:46 -04:00
Ibby Hadeed 618d866bfe fix(inappbrowser): fix event listener
closes 419
2016-08-13 11:19:46 -04:00
Guillermo 66d1da2b55 docs(): Fix GeocoderResult interface (#418) 2016-08-11 08:52:30 -04:00
Ibby Hadeed ecbe5faef8 docs(): add missing docs 2016-08-11 07:55:26 -04:00
Ibby Hadeed 2160a2d9e8 docs(): add missing docs 2016-08-11 07:42:10 -04:00
Kessiler c60c3b7671 fix(camera): camera options should be optional. Fixes #413 (#417) 2016-08-11 07:29:14 -04:00
Ibrahim Hadeed 154c029f79 feat(photo-viewer): add wrapper for plugin (#359)
* feat(photo-viewer): add wrapper for plugin

* tslint
2016-08-11 07:28:52 -04:00
Ibrahim Hadeed 4b8ab4a00f feat(inappbrowser): implement instance based wrapper (#305)
* feat(inappbrowser): the inAppBrowser class is no longer static

* feat(inappbrowser): fallback on window.open if plugin not available

* change warning text to match expected release version
2016-08-11 07:26:39 -04:00
Ibrahim Hadeed 6ed32efe27 feat(file): alternate file implementation (#283)
* alternate file implementation

* SocialSharing: Add recommended `shareWithOptions` method

* Revert "SocialSharing: Add recommended `shareWithOptions` method"

* refactor(file): tslint & remove window declaration

* export all from file

* remove the cordova export and declaration
2016-08-11 07:21:02 -04:00
Kessiler 43e8a6d3d2 feat(GoogleMaps): Allow specify enableHighAccuracy option that attempt to get your location with highest accuracy (#410) 2016-08-09 01:37:16 -04:00
Kessiler cf3f0f63c3 feat(GoogleAnalytics): Add campaign measurement tracking (#405) 2016-08-09 01:30:53 -04:00
Ibrahim Hadeed 7a84262fee feat(keyboard): enable hideKeyboardAccessoryBar function (#398)
closes #394
2016-08-09 01:30:15 -04:00
Keith D. Moore 3748bccad2 Network: Changed connection to return a Typescript string 2016-08-06 09:56:34 -05:00
Markus Wagner 306cb5d2a3 feat(ibeacon): using option otherPromise instead of sync (#388)
Since the plugin's methods return already a promise, the workaround with the `sync` option was used. This worked well for the method calls. However, when either cordova or the plugin was not available, an error was thrown, instead of rejecting the returned promise.

Therefore a better way is to use the `otherPromise` option, introduced with https://github.com/driftyco/ionic-native/releases/tag/v1.3.8.
2016-08-06 02:46:36 -04:00
Max Keyner b413f21d4b docs(): remove unnecessary semicolumn (#400) 2016-08-06 02:45:53 -04:00
Brian Dennis 36624aff9c docs(flashlight): fix isSwitchedOn return type 2016-08-05 10:44:33 -05:00