From 2de03825203f71d3ec4fedaaee7f4c4b950aa93d Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 26 Aug 2014 16:14:34 -0300 Subject: [PATCH 1/5] Check if browser support localStorage --- js/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/routes.js b/js/routes.js index 426862a4e..62b47ec37 100644 --- a/js/routes.js +++ b/js/routes.js @@ -82,7 +82,7 @@ angular .run(function($rootScope, $location, $idle) { $idle.watch(); $rootScope.$on('$routeChangeStart', function(event, next, current) { - if (!util.supports.data) { + if (!localStorage || localStorage.length < 1) { $location.path('unsupported'); } else { if ((!$rootScope.wallet || !$rootScope.wallet.id) && next.validate) { From fa75af12aad3a6dc4f176fd5da19e10e18764c54 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 26 Aug 2014 16:31:49 -0300 Subject: [PATCH 2/5] updated text for unsupported browsers --- views/unsupported.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/views/unsupported.html b/views/unsupported.html index b4c52b634..acfd496a1 100644 --- a/views/unsupported.html +++ b/views/unsupported.html @@ -5,14 +5,14 @@

Browser unsupported

- Copay uses webRTC for peer-to-peer communications, + Copay uses WebStorage for store wallets information, but your browser does not support it. Please use - a current version of Google Chrome, Mozilla Firefox, or Opera. + a current version of Safari, Google Chrome, Mozilla Firefox, or Opera.

- For more information - on supported browsers please check http://www.webrtc.org/ + Check if your browser support WebStorage here

From bbb108ef60a0a92b8fb894dd13f1738eaff45f37 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 26 Aug 2014 16:33:01 -0300 Subject: [PATCH 3/5] updated --- views/unsupported.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/unsupported.html b/views/unsupported.html index acfd496a1..c39eb1eda 100644 --- a/views/unsupported.html +++ b/views/unsupported.html @@ -5,7 +5,7 @@

Browser unsupported

- Copay uses WebStorage for store wallets information, + Copay uses WebStorage for save related wallets information, but your browser does not support it. Please use a current version of Safari, Google Chrome, Mozilla Firefox, or Opera. From dd5ecff1df6ba2694f7a3b6b8ca3e18ccfb953f7 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 26 Aug 2014 16:34:11 -0300 Subject: [PATCH 4/5] updated2 --- views/unsupported.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/unsupported.html b/views/unsupported.html index c39eb1eda..2331a3075 100644 --- a/views/unsupported.html +++ b/views/unsupported.html @@ -8,7 +8,7 @@ Copay uses WebStorage for save related wallets information, but your browser does not support it. Please use - a current version of Safari, Google Chrome, Mozilla Firefox, or Opera. + a current version of Internet Explorer, Safari, Google Chrome, Mozilla Firefox, or Opera.

Check if your browser support WebStorage Date: Tue, 26 Aug 2014 16:49:51 -0300 Subject: [PATCH 5/5] update --- views/unsupported.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/unsupported.html b/views/unsupported.html index 2331a3075..17b8e478e 100644 --- a/views/unsupported.html +++ b/views/unsupported.html @@ -5,7 +5,7 @@

Browser unsupported

- Copay uses WebStorage for save related wallets information, + Copay uses WebStorage to save wallet data, but your browser does not support it. Please use a current version of Internet Explorer, Safari, Google Chrome, Mozilla Firefox, or Opera.