113 Commits

Author SHA1 Message Date
Ruoyu Fu
5b01e87dd8 Added event for url redirect 2018-10-02 14:31:30 +08:00
Koen Punt
d828e7911b Merge pull request #85 from naoufal/chaithanyaprathyush-master
Bug fixes and Perfomance fixes
2018-07-07 12:50:49 +02:00
Koen Punt
8a4d8d00be remove property for safariview
since the property is accessed outside of this module there's no point in having it as property
2018-01-03 16:57:47 +01:00
Koen Punt
64f071d2c7 use RCTConvert method to convert URL 2018-01-03 15:05:31 +01:00
Chaithanya Prathyush
7b3de7217e - Dismiss the SafariView directly by calling ‘dismissViewControllerAnimated: completion:’ instead of calling the delegate which inturn calls the dismiss not the view controller
- Deallocate Safari View, as it is no longer required after dismissal
2018-01-03 14:58:15 +01:00
Chaithanya Prathyush
33dc17cce6 - Refactor availability checking for SFSafariViewController
Safari View Controller is available after iOS 9, iOS version check is enough to determine the availability
2018-01-03 14:58:15 +01:00
Chaithanya Prathyush
8d4b5f7e0b - Check for escaped characters in the URL string from args, before constructing the URL 2018-01-03 14:57:22 +01:00
Chaithanya Prathyush
ed6fe52bc2 Use the ivar provided by obj-c instead of referring to self.
- This leverages ARC features provided by obj-c, and also reduces side effects. refer - https://stackoverflow.com/questions/21844620/difference-between-using-self-variable-and-variable-when-init-these-variables
2018-01-03 14:57:22 +01:00
Koen Punt
640075e0c4 use helper method to get topmost view controller (#80) 2017-12-04 22:11:09 +01:00
Naoufal Kadhom
2368709197 Merge pull request #74 from naoufal/travis-node
update node versions
2017-11-04 14:50:05 -07:00
Koen Punt
87c6db04d3 use latest node 2017-10-03 11:55:38 +02:00
Naoufal Kadhom
c9f12e1bef 2.1.0 v2.1.0 2017-10-02 08:24:25 -07:00
Koen Punt
932ec71171 update node versions 2017-10-01 17:54:14 +02:00
Koen Punt
1e328aeb40 Merge pull request #73 from naoufal/updates
Native promises and updated android stub
2017-10-01 17:48:03 +02:00
Koen Punt
aea0324ea6 do not assign variables before checking url 2017-10-01 17:45:17 +02:00
Koen Punt
f5336d3ad6 update show to use native promise
fixes #59
2017-10-01 17:41:41 +02:00
Koen Punt
4b0529f1b6 simplify android stub 2017-10-01 17:41:41 +02:00
Koen Punt
c161a1a28c update isAvailable to use native promise 2017-10-01 17:41:41 +02:00
Koen Punt
1b451f0edc Merge pull request #58 from seasonyuu/master
Fix readerMode bug naoufal/react-native-safari-view#56
2017-10-01 16:38:02 +02:00
Koen Punt
ab21c35f26 Merge pull request #53 from Amwam/bugfix/modal-presentation
Fixed Safari view not being presentable from a modal
2017-10-01 16:27:18 +02:00
Koen Punt
45dedce87a use namespaced events (#72)
the assumption that events are scoped when using RCTEventEmitter was incorrect, so events are now namespaced again.
2017-10-01 16:11:44 +02:00
Koen Punt
389d6bbe28 update example project to react-native 0.48 (#71) 2017-10-01 15:52:55 +02:00
Koen Punt
c102ff0f36 do not consider controller when being dismissed 2017-09-30 18:01:01 +02:00
Koen Punt
8b77a19dff Merge pull request #68 from koenpunt/eventemitter
replace deprecated RCTEventDispatcher
2017-09-30 17:48:24 +02:00
Koen Punt
13bafcf765 turns out removeListener works too 2017-09-30 17:43:21 +02:00
Koen Punt
00cd998598 Update StatusBar examples (#64)
the current version of react native does not expose any methods on `StatusBarIOS`
2017-09-30 17:36:21 +02:00
Koen Punt
0752228ed5 replace deprecated RCTEventDispatcher 2017-09-29 22:39:35 +02:00
seasonyuu
902d359602 Fix readerMode bug naoufal/react-native-safari-view#56 2017-02-24 17:22:29 +08:00
Naoufal Kadhom
9b7cf6cefb Merge pull request #55 from headlessme/master
Add URL change notification description to README
2017-02-09 08:30:13 -08:00
Andy
164bf64cbd Add URL change notification description to README 2017-02-09 01:50:04 +00:00
Amit Shah
01658cc138 Fixed Safari view not being presentable from a modal 2017-01-20 21:27:44 +00:00
Naoufal Kadhom
3f3cb2086e Merge pull request #45 from kalasjocke/patch-1
Update readme with notes on dismiss
2017-01-11 11:36:55 -08:00
Naoufal Kadhom
8a2e793584 Merge pull request #46 from greis/patch-1
Mention fromBottom option on docs
2017-01-11 11:36:05 -08:00
Naoufal Kadhom
4b8b56a110 Merge pull request #50 from naoufal/add-badge-to-readme
Add badge to readme
2017-01-11 11:34:48 -08:00
Naoufal Kadhom
831b18a76b 2.0.0 2017-01-11 11:33:15 -08:00
Naoufal Kadhom
0c5445a6d3 Add badge to README 2017-01-11 11:32:00 -08:00
Naoufal Kadhom
9273f1c146 Merge pull request #47 from 1st8/master
react-native >= 0.40.0 (December 2016) compatibility
2017-01-11 11:12:16 -08:00
Christoph Geschwind
a48010ae1d react-native >= 0.40.0 (December 2016) compatibility 2017-01-09 10:52:09 +01:00
Gabriel Reis
e89c01ca3a Mention fromBottom option on docs 2016-12-14 10:35:50 -05:00
Joakim Ekberg
24365f0232 Update readme with notes on dismiss 2016-11-18 17:40:40 +01:00
Naoufal Kadhom
c4f5fa56fd 1.2.0 v1.2.0 2016-10-10 13:14:45 -04:00
Naoufal Kadhom
ed1aee993e Update example to 0.34 2016-10-10 13:14:26 -04:00
Naoufal Kadhom
707afb74fd Merge pull request #38 from ptmt/patch-1
Add index.js
2016-10-10 12:38:46 -04:00
Naoufal Kadhom
9666c3da2a Merge pull request #40 from jamesreggio/tint-ios-10
Fix tintColor in iOS 10
2016-10-10 12:35:27 -04:00
James Reggio
f3bffe60f8 Add barTintColor support 2016-10-08 20:01:37 -04:00
Dima
9a6faed40c Add index.js to support eslint and jest 2016-09-12 17:05:07 +03:00
Naoufal Kadhom
dd7f292669 1.1.0 v1.1.0 2016-09-01 16:15:11 -04:00
Naoufal Kadhom
082ad5c7cc Merge pull request #36 from buzznog/master
Adds 'fromBottom' animation option for modalPresentationStyle.
2016-09-01 16:14:27 -04:00
Zachary Gibson
891aa59795 Adds 'fromBottom' option for modalPresentationStyle. 2016-09-01 14:10:34 -05:00
Naoufal Kadhom
a31c9923dc 1.0.2 2016-08-20 19:20:08 -04:00