question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. Itย collects links to all the places you might be looking at while hunting down a tough bug.

And, if youโ€™re still stuck at the end, weโ€™re happy to hop on a call to see how we can help out.

slow loading of qr on first time

See original GitHub issue

๐Ÿ“‹ Bug Details

slow loading of qr on first time

key value
Reported At 2018-12-16 23:16:48 UTC
Email nicolas@emurgo.io
Categories Report a Problem
App Version 1.0 (1)
Session Duration 41
Device iPhone X, iOS 12.1
Display 375x812 (@3x)
Location Brooklyn, United States (en-US)

๐Ÿ‘‰ View Full Bug Report on Instabug ๐Ÿ‘ˆ


๐Ÿ“ฑ View Hierarchy

This bug was reported from RCTModalHostViewController Find its interactive view hierarchy with all its subviews here: ๐Ÿ‘‰ Check View Hierarchy ๐Ÿ‘ˆ


๐Ÿ“‰ Session Profiler

Key Value
CPU Load 20.8%
Used Memory 22.7% - 0.29/1.27 GB
Used Storage 18.3% - 44.63/244.08 GB
Connectivity wifi - WiFi
Battery 32% - unplugged
Orientation portrait

Find all the changes that happened in the parameters mentioned above during the last 60 seconds before the bug was reported here: ๐Ÿ‘‰ View Full Session Profiler ๐Ÿ‘ˆ


๐Ÿ”Ž Logs

User Steps

Here are the last 10 steps done by the user right before the bug was reported:

23:16:12 Tap in SKIP TO WALLET LIST DEFAULT Clear storage Crash of type RCTSafeAreaView in UIViewController
23:16:14 Scroll in RCTCustomScrollView in UIViewController
23:16:16 Scroll in RCTCustomScrollView in UIViewController
23:16:19 Scroll in RCTCustomScrollView in UIViewController
23:16:19 Scroll in RCTCustomScrollView in UIViewController
23:16:20 Scroll in RCTCustomScrollView in UIViewController
23:16:24 Swipe in ADD WALLET of type RCTView in UIViewController
23:16:25 Tap in My wallet do  of type RCTView in UIViewController
23:16:28 Tap in 4:55:13 AM Fee: -0.167994 ADA sent of type RCTView in UIViewController
23:16:31 Tap in (not mine) Ae2tdPwUPEZAghGCdQykbGxc991wdoA8bXmSn7eCGuUKXF4EsRhWj4PJitn of type RCTTextView in UIViewController

Find all the user steps done by the user throughout the session here: ๐Ÿ‘‰ View All User Steps ๐Ÿ‘ˆ


๐Ÿ“ท Images

image attachment


โš ๏ธ Looking for More Details?

  1. Network Log: we are unable to capture your network requests automatically. If you are using AFNetworking or Alamofire, check the details mentioned here.
  2. User Events: start capturing custom User Events to send them along with each report. Find all the details in the docs.
  3. Instabug Log: start adding Instabug logs to see them right inside each report you receive. Find all the details in the docs.
  4. Console Log: when enabled you will see them right inside each report you receive. Find all the details in the docs.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MichalPetrocommented, Dec 18, 2018

@nicarq we have been trying to replicate this issue several times on both Android and iOS, I tried it also on iPhone X. I was able to replicate it only once:

  1. brand new installation of app
  2. import wallet with many many transactions
  3. immediately after wallets starts fetching transactions I opened random transaction and clicked on a random address
  4. QR code display delay was like 1-2 seconds

The cause most likely is that we are using some React component for the QR code and it needs some heavy resources for first initialization. If we are still fetching the transactions on the background (performance heavy operation), it may take a longer time for the component to initialize.

The workaround we can do - load some random QR code somewhere outside the screen during app initialization. Let me know what you think and if you want to proceed.

0reactions
nicarqcommented, Jan 16, 2019

Gotcha! thanks @MichalPetro!

Read more comments on GitHub >

github_iconTop Results From Across the Web

9 reasons Why Your QR Code is Not Working - Beaconstac blog
Too much content can cause multiple problems with QR Codes in various circumstances. For instance, adding a lot of content can reduce the...
Read more >
Troubleshoot QR code scanning with your phone's camera
Try holding your phone about 30 cm (1 foot) away and slowly moving it towards the QR code. Some phone cameras can't focus...
Read more >
12 Reasons why your QR code is not working
QR codes are not working for a variety of reasons. These codes are developed to be scanned by smartphone gadgets.
Read more >
Unable to Scan QR Code? Here's How to Fix a QR Code.
If a QR code won't scan, it could be because the QR code error correction level is too low for the amount of...
Read more >
Common QR Code Scanning Problems and How to Fix Them
#7 Overloaded content. Problem: The QR Code has been overloaded with too much data, which slows down the scan time, as well as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found