wallet icon indicating copy to clipboard operation
wallet copied to clipboard

Android: Lockscreen freezes

Open otheATgh opened this issue 11 years ago • 6 comments

System: Android 4.4 Kitkat; app as an Apk

When pressing the Lock button on the left sidebar the screen freezes and the lockscreen doesnt appear.

Debug: TypeError: Object # has no method 'go' at Object.root.restart (file:///android_asset/www/js/copayMain.js:620:12) at Identity. (file:///android_asset/www/js/copayMain.js:1229:28) at Identity.EventEmitter.emit (file:///android_asset/www/js/copayBundle.js:27281:17) at Identity.emitAndKeepAlive (file:///android_asset/www/js/copayBundle.js:1384:13) at Identity.close (file:///android_asset/www/js/copayBundle.js:1594:8) at file:///android_asset/www/js/copayMain.js:1240:27 at file:///android_asset/www/js/copayBundle.js:1548:14 at EncryptedLocalStorage.LocalStorage.setItem (file:///android_asset/www/js/copayBundle.js:8021:12) at EncryptedLocalStorage.setItem (file:///android_asset/www/js/copayBundle.js:7393:34) at Identity.store (file:///android_asset/www/js/copayBundle.js:1542:17)

Error is here: root.restart = function() { if (isCordova) { $rootScope.iden = $rootScope.wallet = undefined; go.go('/'); <--- go.go isnt found.

Screen looks like this:

screenshot_2014-12-10-15-09-10

Sending the app to background via homebutton and putting it to front fixes it.

otheATgh avatar Dec 10 '14 22:12 otheATgh

Sometimes it also looks like this: screenshot_2014-12-10-15-14-15

It tries to save save the profile it seems but is stuck there. maybe related to https://github.com/bitpay/copay/issues/2097

otheATgh avatar Dec 10 '14 22:12 otheATgh

thanks for report.

What version are your using?

On Wed, Dec 10, 2014 at 7:33 PM, thoatbk [email protected] wrote:

Sometimes it also looks like this: [image: screenshot_2014-12-10-15-14-15] https://cloud.githubusercontent.com/assets/10147431/5385680/cbf2940e-80c4-11e4-8d45-89529868b07b.png

It tries to save save the profile it seems but is stuck there. maybe related to #2097 https://github.com/bitpay/copay/issues/2097

— Reply to this email directly or view it on GitHub https://github.com/bitpay/copay/issues/2095#issuecomment-66537282.

BitPay.com

matiu avatar Dec 10 '14 22:12 matiu

Latest from some hours ago, i´ll checkout out the latest commits and try again now

otheATgh avatar Dec 10 '14 22:12 otheATgh

Still the same error on latest commit (https://github.com/bitpay/copay/commit/20e19af2c7c22a20b58e9d3867dc9edff559111b), pressing home and going back to the app instantly fixes it (loads the pin entry screen)

otheATgh avatar Dec 10 '14 23:12 otheATgh

Fixed with https://github.com/bitpay/copay/commit/05b6cfa56fbe8be98fc2988d41298a4b9cef8e7c , can be closed it seems, works flawless now

otheATgh avatar Dec 11 '14 10:12 otheATgh

Thanks for the report again! I was about to write you that we find and error on /js/services/applicationsServices.js on cordova.

matiu avatar Dec 11 '14 13:12 matiu