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
when I use tns run android to test the application locally, the app works fine. But when I build the application tns build android the application is crashing with the following exception on startup.
As we are using angular in our app we added Admob.init() in APP_INITIALIZER.
import { Admob } from "@nativescript/firebase-admob";
Thank you very mush @triniwiz
this seems to have fix the issue. The app is building successfully now. But could you please explain why this was happening and if this is a permanent solution can this be added to the documentation.
when I use tns run android to test the application locally, the app works fine. But when I build the application tns build android the application is crashing with the following exception on startup.


As we are using angular in our app we added Admob.init() in APP_INITIALIZER.
import { Admob } from "@nativescript/firebase-admob";
export function initializeAdmob() {
return (): Promise => {
return Admob.init();
};
}
node version: 18.4.0
npm version: 8.1.4
ns version: 8.2.3
ns firebase version: 2.1.0
The text was updated successfully, but these errors were encountered: