showAsAction propResult: RuntimeException: Tried to get null value!
hello) me to Android
Process: ru.tvil.guest, PID: 6391
java.lang.RuntimeException: Tried to get null value!
at com.reactnativenavigation.parse.params.Param.get(Param.java:27)
at com.reactnativenavigation.utils.ButtonSpan.apply(ButtonSpan.kt:22)
at com.reactnativenavigation.utils.ButtonSpan.updateDrawState(ButtonSpan.kt:12)
at android.text.TextLine.handleRun(TextLine.java:943)
at android.text.TextLine.measureRun(TextLine.java:408)
at android.text.TextLine.measure(TextLine.java:298)
at android.text.TextLine.metrics(TextLine.java:272)
at android.text.BoringLayout.isBoring(BoringLayout.java:294)
my code:
Navigation.push(componentId, {
component: {
name: SEARCH_MAP,
options: {
topBar: {
title: {
text: title,
},
rightButtons: [{ id: 'menuButton', icon: menu, color: colors.WHITE, disabledColor: colors.RGBA_WHITE_1, enabled: false }],
},
},
},
});
});
Yes, I have a similar issue when I try to update the buttons (enable/disable) using the merge options. It works just fine on 6.4.0 but with 6.5.0/6.6.0 it crashes the app
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
Most helpful comment
Yes, I have a similar issue when I try to update the buttons (enable/disable) using the merge options. It works just fine on 6.4.0 but with 6.5.0/6.6.0 it crashes the app