As the title says, if your iOS app’s first component uses an <ActionItem> the app crashes.
Code:
<ActionBar title="Title">
<ActionItem text="Hi"></ActionItem>
</ActionBar>
Error:
Mar 18 11:05:47 VANTOLLMAC-7 sampleGroceries[8644]: *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
Mar 18 11:05:47 VANTOLLMAC-7 sampleGroceries[8644]: *** JavaScript call stack:
(
0 setLeftBarButtonItemsAnimated@[native code]
1 populateMenuItems@file:///app/tns_modules/ui/action-bar/action-bar.js:112:53
2 update@file:///app/tns_modules/ui/action-bar/action-bar.js:90:31
3 ngOnInit@file:///app/tns_modules/nativescript-angular/directives/action-bar.js:71:35
4 detectChangesInRecordsInternal@:20:107
5 detectChangesInRecords@file:///app/tns_modules/angular2/src/core/change_detection/abstract_change_detector.js:104:48
...
Reactions are currently unavailable
As the title says, if your iOS app’s first component uses an <ActionItem> the app crashes.
Code:
Error:
Mar 18 11:05:47 VANTOLLMAC-7 sampleGroceries[8644]: *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array' Mar 18 11:05:47 VANTOLLMAC-7 sampleGroceries[8644]: *** JavaScript call stack: ( 0 setLeftBarButtonItemsAnimated@[native code] 1 populateMenuItems@file:///app/tns_modules/ui/action-bar/action-bar.js:112:53 2 update@file:///app/tns_modules/ui/action-bar/action-bar.js:90:31 3 ngOnInit@file:///app/tns_modules/nativescript-angular/directives/action-bar.js:71:35 4 detectChangesInRecordsInternal@:20:107 5 detectChangesInRecords@file:///app/tns_modules/angular2/src/core/change_detection/abstract_change_detector.js:104:48 ...