Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path Check BT crashes when executed #1221

Open
crayne opened this issue Jul 13, 2020 · 4 comments
Open

Path Check BT crashes when executed #1221

crayne opened this issue Jul 13, 2020 · 4 comments

Comments

@crayne
Copy link
Contributor

crayne commented Jul 13, 2020

Issue type

Environment

Version

  • Release build version:
    1.22.4

Affected Devices

Brand Model OS

Samsung Galaxy S8 emulator
Samsung Galaxy S9 device

Affected Languages

Steps to reproduce

yarn run-android-bt

Expected Behavior

Normal onboarding

  • When I click Stop Logging I am taken to the Import screen. Expect to
    go back to the Welcome greeting.

image

@johnschoeman
Copy link
Collaborator

Looks like an issue with react-native-config, can you confirm you have a local .env.bt file with TRACING_STRATEGY=bt ?

@crayne
Copy link
Contributor Author

crayne commented Jul 13, 2020

Yes, I can. A quick fix would be to set Config.TRACING_STRATEGY to bt if it is undefined. Would that be unacceptably ugly?

@johnschoeman
Copy link
Collaborator

Yes, I can. A quick fix would be to set Config.TRACING_STRATEGY to bt if it is undefined. Would that be unacceptably ugly?

This is probably not the way we want to go here. Do you have a local .env.bt file with TRACING_STRATEGY=bt ? and can you confirm if react-native-config is working properly for you? something like

import Config from 'react-native-config'
console.log(Config)

should be sufficient.

@crayne
Copy link
Contributor Author

crayne commented Jul 14, 2020

I do have a local .env.bt file with TRACING_STRATEGY=bt. The result of

import Config from 'react-native-config'
console.log("Config.TRACING_STRATEGY is " + Config.TRACING_STRATEGY);

is
LOG Config.TRACING_STRATEGY is undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants