Runtime Error with iOS
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- firebase, typescript
- Domain
- mobile
Research direction
Start by reproducing the iOS runtime failure and inspect src/main.ts at line 12, where the firebase function from @nativescript-firebase/core is called. Check the generated bundle and the package's iOS setup around that import. Done means the demo launches without the reported TypeError.
Written by the indexing model from the issue text.
Description
I fixed the GRPC issues with the POD file fix but when I run it, I get this
Successfully synced application io.github.triniwiz.nativescript.firebasedemo on device 8063002D-1E9F-4AE2-A3A0-E127DA3C5496.
***** Fatal JavaScript exception - application has been terminated. *****
NativeScript encountered a fatal error:
Error calling module function
TypeError: (0 , nativescript_firebase_core__WEBPACK_IMPORTED_MODULE_2_.firebase) is not a function
File: (file: src/main.ts:12:2)
StackTrace:
./src/main.ts(file: src/main.ts:12:6)
at webpack_require(file: src/webpack/bootstrap:19:0)
at webpack_exec(file:///app/bundle.js:367:39)
at (file:///app/bundle.js:368:193)
at webpack_require.X(file: src/webpack/runtime/startup entrypoint:6:0)
at (file:///app/bundle.js:368:47)
at (file:///app/bundle.js:373:3)
at require(:1:232)
- Dominant language
- TypeScript
- Stars
- 62
- Forks
- 53
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NativeScript/firebase
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
NativeScript/firebase#292 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
NativeScript/firebase#289 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
NativeScript/firebase#288 · 4 reactions ·
-
bug ios
NativeScript/firebase#287 · 1 assignee ·
-
Uh-Oh Shazam Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
NativeScript/firebase#286 ·
All issues in NativeScript/firebase
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100