Skip to content

Commit

Permalink
feat(devtool): disabled console log on android and added a mention to…
Browse files Browse the repository at this point in the history
… the relevant issue on github
  • Loading branch information
aeddi committed Nov 24, 2018
1 parent 5e2d1ce commit 5142616
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions client/react-native/android/ble/build.gradle
Expand Up @@ -38,7 +38,7 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation project(':core')
implementation project(':core')
}

task deleteJar(type: Delete) {
Expand All @@ -52,4 +52,4 @@ task createJar(type: Copy) {
rename('classes.jar', 'ble.jar')
}

createJar.dependsOn(deleteJar, build)
createJar.dependsOn(deleteJar, build)
Expand Up @@ -228,11 +228,19 @@ export default class List extends PureComponent {
}
/>
)}
<Menu.Item
icon='file-text'
title='Console logs'
onPress={() => navigation.push('devtools/logs')}
/>
{Platform.OS !== 'android' && (
<Menu.Item
icon='file-text'
title='Console logs'
onPress={() => navigation.push('devtools/logs')}
/>
)}
{Platform.OS === 'android' && (
<Menu.Item
icon='file-text'
title='Console logs (crash on Android cf. #627)'
/>
)}
</Menu.Section>
<Menu.Section>
<Menu.Item
Expand Down

0 comments on commit 5142616

Please sign in to comment.