As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Cannot read property 'init' of undefined when initializing Kinvey with Nativescript
D
David Marín
started a topic
about 5 years ago
Hello, I'm new to Kinvey and some sort of newbie also with Nativescript, I was following the getting started section and when i ran "tns run android" on my console, the app throws an exception saying
My code right know looks pretty simple, in main.ts I have.
// this import should be first in order to load some required settings (like globals and reflect-metadata)
import { platformNativeScriptDynamic } from "nativescript-angular/platform";
import { AppModule } from "./app.module";
import "./shared/kinvey.common";
platformNativeScriptDynamic().bootstrapModule(AppModule);
David Marín
Hello, I'm new to Kinvey and some sort of newbie also with Nativescript, I was following the getting started section and when i ran "tns run android" on my console, the app throws an exception saying
My code right know looks pretty simple, in main.ts I have.
In Kinvey.common:
Any help will be appreciated!
Thanks!
Hi David,
Please check this link and update your code as follows:
Also, please take a look at our sample apps for a better understanding of Kinvey.
Thanks,
Pranav
Kinvey
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstPranav J
David,
Glad to hear that you were able to solve it.
Thanks,
Pranav
David Marín
I solved it myself, just for the record, you have to uninstall and reinstall android platform when you install a plugin that wraps it
David Marín
Thanks for the quick Answer Pranav, I'm still getting the same error when I copied the same code that you wrote, any other possible solution?
Pranav J
Hi David,
Please check this link and update your code as follows:
Also, please take a look at our sample apps for a better understanding of Kinvey.
Thanks,
Pranav
Kinvey
-
What is the best way to store and load hierarchies/relationships in the Data Store?
-
How do I create in-app payments using Kinvey?
-
Link users to file uploads
-
question about references and user permissions
-
Data storage limits?
-
Relational Data - Files
-
What defines an Active User?
-
"The app backend is under lockdown"
-
query doesn't show files, can't download.
-
Posting Code to Forum
See all 316 topics