‘platformNativeScriptDynamic’ is deprecated

The solution for “‘platformNativeScriptDynamic’ is deprecated” can be found here. The following code will assist you in solving the problem.

//Your main.ts file should look something like this:

import { runNativeScriptAngularApp, platformNativeScript } from ‘@nativescript/angular’;
import { AppModule } from ‘./app/app.module’;

appModuleBootstrap: () => platformNativeScript().bootstrapModule(AppModule),

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

inline scripts encapsulated in