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.

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [ Yes] I am running the latest version
  • [ Yes] I checked the documentation and found no answer
  • [ Yes] I checked to make sure that this issue has not already been filed

Expected Behavior

Please describe the behavior you are expecting When subscribed to Streaming channel for data notifications, One should get the notifications with complete value (hexadecimal encoded in base64)

Current Behavior

What is the current behavior? When subscribed to Streaming channel for data notifications, a part of hexadecimal value encode in base64 is getting chopped. current value: oF+5Ak9TWU4xMjM0NTYAAAAAAAAeAAAACAAUtFekprOhAENvbmUgQ3J1c2hlciAxMjMAAAAAAAAAAAAAAAAAABBhuQJPygkbBAAEAAQAAAAAAAAATPyw/xwAAAAAAA8NEIO5Ak/KCRsEAAQABAAAAAAAAABL/K//HAAAAAAADw0QobkCT8oJGwQABAAEAAAAAAAAAEv8rv8cAAAAAAAPDRDDuQJPygkbBAAEAAMAAAAAAAAAS/w= expected: oF+5Ak9TWU4xMjM0NTYAAAAAAAAeAAAACAAUtFekprOhAENvbmUgQ3J1c2hlciAxMjMAAAAAAAAAAAAAAAAAABBhuQJPygkbBAAEAAQAAAAAAAAATPyw/xwAAAAAAA8NEIO5Ak/KCRsEAAQABAAAAAAAAABL/K//HAAAAAAADw0QobkCT8oJGwQABAAEAAAAAAAAAEv8rv8cAAAAAAAPDRDDuQJPygkbBAAEAAMAAAAAAAAAS/yu/xwAAAAAAA8N

Steps to Reproduce

Since device is specific to organisation, can’t share details. Otherwise, below are the steps i am following Please provide detailed steps for reproducing the issue.

  1. change operating mode to transfer
  2. subscribe to streaming channel for data transfer
  3. trigger transfer
  4. we will start receiving notifications
  5. a part of value in the notification is being chopped and no subsequent notification that has this chopped data.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Both JS and platform logs can be enabled via setLogLevel function call.

  • Library version: 1.1.0
  • Platform: iOS.
  • Platform logs (logcat/XCode):
  • JS logs:
  • Contents of the package.json file: “react”: “16.8.6”, “react-native”: “0.60.3”,
  • Formatted code sample or link to a repository:
function example(): string {
  return "Your code sample"
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
dariuszseweryncommented, Feb 12, 2020

I don’t see any log in xcode.

This part of the issue template describes how you can enable platform logs

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Both JS and platform logs can be enabled via setLogLevel function call.

@dariuszseweryn One another observation, on my android phone i get expected value. However on iPhone, even in light blue, i get it chopped.

Does this means it is device limitation?

Yup. Your peripheral does not take into account that MTU may be lower than it expects.

0reactions
gajendra-weircommented, Feb 12, 2020

I don’t see any log in xcode.

@dariuszseweryn One another observation, on my android phone i get expected value. However on iPhone, even in light blue, i get it chopped.

Does this means it is device limitation?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capture and read bug reports - Android Developers
A bug report contains device logs, stack traces, and other diagnostic information to help you find and fix bugs in your app.
Read more >
What Is A Bug Report? The Essential Guide + Examples Of ...
A bug report is something that stores all information needed to document, report and fix problems occurred in software or on a website....
Read more >
How to Write A Good Bug Report? Tips and Tricks
Bug reporting is an important aspect of Software Testing. Effective Bug reports communicate well with the development team to avoid confusion or ...
Read more >
14 Bug Reporting Templates You Can Copy for Your QA ...
Check out these 14 super actionable bug report templates, tailored for your issue tracker like Jira, GitHub, Trello, Asana, Excel and more.
Read more >
Bug Reporting - Apple Developer
Now with Feedback Assistant available on iPhone, iPad, Mac, and the web, it's easier to submit effective bug reports and request enhancements to...
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