Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

ReferenceError: Can't find variable: SwiftRater #7

Open
philicomus opened this issue Jan 1, 2020 · 1 comment
Open

ReferenceError: Can't find variable: SwiftRater #7

philicomus opened this issue Jan 1, 2020 · 1 comment

Comments

@philicomus
Copy link

philicomus commented Jan 1, 2020

I'm getting the above error after adding the plugin (via NS Sidekick) and then importing it in main.ts, and calling appRater.init(.... just before the boostrapping:

import { platformNativeScriptDynamic } from "nativescript-angular/platform";

import { AppModule } from "./app/app.module";
import { appRater } from 'nativescript-rater';

appRater.init({
    showNeverButton:false,
    debugMode:true
});
platformNativeScriptDynamic().bootstrapModule(AppModule);
@philicomus philicomus changed the title Can't find variabke ReferenceError: Can't find variable: SwiftRater Jan 1, 2020
@gogoout
Copy link
Owner

gogoout commented Jan 8, 2020

@philicomus Sorry for the late reply, have you try to run the demo?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants