By default when creating a new Expo project with the typescript template, the entry point file is App.tsx not App.ts, so the script to import and start Bugsnag fails. This update checks also for the App.tsx file and inserts if found.
Design
Reused existing approach, only extended it
Changeset
Extended existing functionality in insert.js, adding extra check for App.tsx file.
Goal
By default when creating a new Expo project with the typescript template, the entry point file is
App.tsx
notApp.ts
, so the script to import and start Bugsnag fails. This update checks also for theApp.tsx
file and inserts if found.Design
Reused existing approach, only extended it
Changeset
Extended existing functionality in
insert.js
, adding extra check forApp.tsx
file.Testing
Added tests for
App.tsx
extension.