EddyVerbruggen / EddyVerbruggen/nativescript-feedback

Error: android.view.InflateException using nativescript plugin-feedback

Open
#61 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
128
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Someone knows why this error only on android?
IOS is working like a charm.

```
firebase.update(`/puzzle/${puzzleItem.idUser}/${currentItemKey}`, puzzleItem).then(
(resultUpdate) => {
this._ngZone.run(() => {
// FEEDBACK ERROR ??!!!
this.feedback.show({
message: "Easiest thing ever, right?"
});

this.refreshPuzzle(listIndexItemsClicked);
});
}
);

JS: ERROR Error: Uncaught (in promise): Error: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class
JS: (file:///node_modules/nativescript-feedback/feedback.js:17:0)
JS: at ZoneAwarePromise(file:///node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js:902:0)
JS: at show(file:///node_modules/nativescript-feedback/feedback.js:15:0)
JS: at (file:///src/app/puzzle/puzzle.component.ts:384:50)
JS: at push.../node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js.ZoneDelegate.invoke(file:///node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js:388:0)
JS: at onInvoke(file:///node_modules/@angular/core/fesm5/core.js:26256:0)
JS: at push.../node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js.ZoneDelegate.invoke(file:///node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js:387:0)
JS: at push.../node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js.Zone.run(file:...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Android failure from the feedback.show call in src/app/puzzle/puzzle.component.ts:384, then inspect node_modules/nativescript-feedback/feedback.js around lines 15-17 and the referenced Binary XML line 10. Done means identifying the Android-specific cause and confirming that the feedback message displays successfully without the InflateException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.