Commit Graph

576 Commits

Author SHA1 Message Date
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
Alex Muramoto
225a44ca4d docs(TouchID): Improves formatting of usage docs (#397)
* Fixes syntax error in usage example, and improves usage formatting

* Moves error codes into usage section
2016-08-04 17:58:35 -04:00
Aaron Czichon
cabeeb8dab feat(video-player): Added video player plugin (#391)
* Added OneSignal wrapper

* documentation

* Changes for callback of notification revieced

* fixes for @Cordova decorators without Promise return

* Merge

* Improvements to OneSignal
extended init function with notificationOpenedCallback as an optional parameter

* Platforms removed
OneSignal supports more than only these 3 platforms. It's available to nearly all Cordova platforms.

* Init method turned into observable

* Screen Orientation Plugin added. Closes #342

* Added VideoPlayer plugin #318
2016-08-04 17:57:44 -04:00
Max Lynch
9d03a6009b Merge pull request #392 from tlaverdure/docs(google-maps)
docs(google maps) - Updates to Google Maps docs
2016-08-04 09:43:06 -05:00
Michael Callaghan
066821dbec Added comment for iOS.
It doesn't matter what you send as the duration to vibrate() under iOS, it's always the same.
2016-08-04 10:01:34 -04:00
Thiery Laverdure
8242c88cbb Update googlemaps.ts 2016-08-04 08:37:45 -04:00
Thiery Laverdure
484f9a0076 Extra space. 2016-08-04 08:36:59 -04:00
Thiery Laverdure
049903222a Updates to google maps docs.
I would do more, but I'll see what kind of feedback I get first from these changes.
2016-08-04 08:31:51 -04:00
Gilles Callebaut
2503ef2ee5 docs(): Update nativestorage.ts (#384) 2016-08-02 18:52:37 -04:00
Saurabh Vyas
899c695414 docs(): Missing Comma / Syntax Error (#381)
A comma was missing :)
2016-08-02 18:30:56 -04:00
Max Lynch
09e6fc9738 chore(backgroundGeolocation): update usage 2016-08-01 16:44:51 -05:00
Max Lynch
4e206812f0 fix(backgroundGeolocation): update config and move to sync. Fixes #331 2016-08-01 16:41:59 -05:00
Max Lynch
06c749ffab chore(docs): camera preview link. Fixes #361 2016-08-01 13:46:58 -05:00
mhartington
5162411b38
docs(): updated docs 2016-08-01 14:02:17 -04:00
Aaron Czichon
bd9366bdfe feat(screen-orientation): Added Screen Orientation Plugin #342 (#366)
* Added OneSignal wrapper

* documentation

* Changes for callback of notification revieced

* fixes for @Cordova decorators without Promise return

* Merge

* Improvements to OneSignal
extended init function with notificationOpenedCallback as an optional parameter

* Platforms removed
OneSignal supports more than only these 3 platforms. It's available to nearly all Cordova platforms.

* Init method turned into observable

* Screen Orientation Plugin added. Closes #342
2016-07-31 14:32:34 -04:00
John C. Bland II
206fa625fd docs(): Fix quotes on TouchID.isAvailable error comment (#370) 2016-07-31 14:31:27 -04:00
John C. Bland II
58c3fda956 docs(): Change <Fabric API Key> to not break the doc formatter (#371) 2016-07-31 14:31:02 -04:00
Alex Muramoto
ccf7fb56c8 fix(diagnostics): Corrects isEnabled functions to isAvailable (#373)
- Location, camera, wifi, and bluetooth 'isEnabled' functions are incorrect. All should be is Available.
2016-07-31 14:30:48 -04:00
Alex Muramoto
eeb5393a3f docs(): Adds basic documentation for importing Diagnostic plugin (#374) 2016-07-31 14:25:51 -04:00
Daniele Sartiano
8dfe0dbaf2 docs(): Update sqlite.ts (#375)
Fixed typo
2016-07-31 14:25:27 -04:00
Matt Lewis
817a4340e7 fix(ng1): use $q promises instead of the native Promise (#378) 2016-07-31 14:24:56 -04:00
Nazır Doğan
5506e8a2e2 docs(): Update inappbrowser.ts (#376) 2016-07-31 14:24:15 -04:00
Ibby Hadeed
aa51c03c5c remove window 2016-07-28 12:51:35 -04:00
Marcin Wadoń
40bd9bb20d Image resizer plugin class (#355) 2016-07-28 12:46:48 -04:00
Ibrahim Hadeed
41c9adf55a feat(crop): add crop plugin (#284) 2016-07-28 12:45:37 -04:00
Aaron Czichon
08fe04e87e fix(one-signal): return Observable instead of promise (#352)
* Added OneSignal wrapper

* documentation

* Changes for callback of notification revieced

* fixes for @Cordova decorators without Promise return

* Merge

* Improvements to OneSignal
extended init function with notificationOpenedCallback as an optional parameter

* Platforms removed
OneSignal supports more than only these 3 platforms. It's available to nearly all Cordova platforms.

* Init method turned into observable
2016-07-25 09:52:17 -04:00
Ankur Raiyani
8b9e317519 docs(statusbar): fix typo (#351) 2016-07-25 09:34:24 -04:00
mhartington
e20c411dff
fix(brightness): use correct pluginRef 2016-07-24 20:50:01 -04:00
Ibby Hadeed
971ee4adda minor refractor 2016-07-23 07:18:32 -04:00
Ibby Hadeed
df326f773f feat(android-fingerprint-auth): add wrapper for plugin
closes #334
2016-07-23 07:13:35 -04:00
Sameera (Sam)
cb24876f23 docs(transfer): example added for Transfer plugin (#349) 2016-07-23 06:48:55 -04:00
begriffin
075842d69d feat(secure-storage): Add Secure Storage Wrapper (#347)
* Add SecureStorage plugin.

* Add SecureStorage plugin.

* Added create() and removed init() to provide more consistency to ionic-native plugins.
Edited comments to reflect changes.

* Removed init and comment edit.
2016-07-23 06:45:53 -04:00
Alex Muramoto
77d31cdf42 fix(file): readAsText() and adds readAsDataURL() in File plugin (#346)
* Updates docs for CameraPreview, Base64ToGallery and Developer.MD

-DEVELOPER.md: Corrects 'npm run tslint' instruction to 'npm run lint'
-CameraPreview: Fixes syntax error in hide
-Base64ToGallery: Adds desc of options obj props

* Fixes resolveLocalFileSystemURL bug in File.readAsText() and adds File.readAsDataUrl()

- File.readAsText(): window.resolveLocalFileSystemURL() was incorrectly implemented

* Updates callback arg in File.checkFile()

Callback arg of window.resolveLocalFileSystemURL was fileSystem, but it actually returns fileEntry

* Corrects repo link and comments out setFlashMode()

- Repo prop and link in desc were not pointing to the same gh repo as the plugin
- setFlashMode() is not currently available in the repo that gets pulled by the corodova plugin
2016-07-22 14:08:11 -04:00
Alex Muramoto
b95191af06 docs(): CameraPreview, Base64ToGallery and Developer.MD (#343)
-DEVELOPER.md: Corrects 'npm run tslint' instruction to 'npm run lint'
-CameraPreview: Fixes syntax error in hide
-Base64ToGallery: Adds desc of options obj props
2016-07-21 12:40:51 -04:00
Guillermo
7952f9ef60 Improvements on documentation (#340)
* Improvements on documentation and some refactor

* ts | js -> typescript (docs)
2016-07-20 11:17:09 -04:00
Ibby Hadeed
d4bee49678 fix(base64togallery): update plugin wrapper to match latest version
closes #335
2016-07-20 07:12:44 -04:00
Ibby Hadeed
8b27bed4df feat(facebook): add FacebookLoginResponse interface 2016-07-20 07:10:01 -04:00
Ibby Hadeed
979838f4b7 feat(twitter-connect): add twitter connect plugin
closes #308
2016-07-20 05:55:20 -04:00
Kim Biesbjerg
5807dd7f09 feat(social-sharing): add canShareViaEmail (#333)
* - Add support for canShareViaEmail
- Make the following parameters in shareViaEmail method optional: cc, bcc, files
- Add usage for canShareViaEmail and shareViaEmail
- Fix some formatting to be more consistent
- Fix pluginRef

* Fix import
2016-07-20 05:45:00 -04:00
Marcin Wadoń
a8fa61ddb9 docs(filetransfer): Improve docs for FileTransferError and wrap existing usage in ts (#329)
* Improve docs for FileTransferError and wrap existing usage in ts

* Add closing code tag

* Doubled space between param name and description
2016-07-19 04:28:48 -04:00
Ibby Hadeed
5979e9a8b0 refactor(plugin): refreactor to match tslint rules 2016-07-18 11:39:53 -04:00
Ibrahim Hadeed
0aee6c88ce feat(otherPromise): can work better with plugins that return promises (#304) 2016-07-18 10:51:39 -04:00
Marcin Wadoń
f59570e39d refactor(camera): set properties as public (#326)
* Change static fields from default (private) to public

* Move methods below primitve

* Stay @private in docs due to prevent the docs generator from documenting them
2016-07-18 08:04:49 -04:00
Marcin Wadoń
006bc70387 fix(sqlite): fix method attribute typo (#324) 2016-07-18 06:34:31 -04:00
Ibby Hadeed
5afcbfc4bf minor fix' 2016-07-18 00:08:21 -04:00
Ibby Hadeed
41d335e4e9 fix conflicts 2016-07-18 00:06:07 -04:00
Ibrahim Hadeed
1b161d8c9e fix(geolocation): handle errors on watchPosition
closes #322
2016-07-17 23:01:03 -04:00
Job
074d16605d fix(contacts): missing name property, types (#320) 2016-07-17 22:35:38 -04:00