You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I get this issue every time I use TabBarTemplate:
Your app just crashed. See the error below.
java.lang.IllegalStateException: A title must be set for the tab
androidx.car.app.model.Tab$Builder.build(Tab.java:210)
org.birkir.carplay.parser.RCTTabTemplate.parseTab(RCTTabTemplate.kt:41)
org.birkir.carplay.parser.RCTTabTemplate.parse(RCTTabTemplate.kt:24)
org.birkir.carplay.parser.RCTTabTemplate.parse(RCTTabTemplate.kt:11)
org.birkir.carplay.parser.TemplateParser.parse(TemplateParser.kt:30)
org.birkir.carplay.CarPlayModule.parseTemplate(CarPlayModule.kt:92)
org.birkir.carplay.CarPlayModule.createScreen(CarPlayModule.kt:292)
org.birkir.carplay.CarPlayModule.getScreen(CarPlayModule.kt:302)
org.birkir.carplay.CarPlayModule.setRootTemplate$lambda$2(CarPlayModule.kt:139)
org.birkir.carplay.CarPlayModule.$r8$lambda$cp18Ybhsx4k_Ka2Moa-_hKNT4FY(Unknown Source:0)
org.birkir.carplay.CarPlayModule$$ExternalSyntheticLambda6.run(Unknown Source:4)
android.os.Handler.handleCallback(Handler.java:959)
android.os.Handler.dispatchMessage(Handler.java:100)
android.os.Looper.loopOnce(Looper.java:232)
android.os.Looper.loop(Looper.java:317)
android.app.ActivityThread.main(ActivityThread.java:8592)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Here is my code:
template.ts
App.tsx
Originally posted by @EliG-TA in #112 (comment)
The text was updated successfully, but these errors were encountered: