Hello,
Thank you for your response
I have nativescript 3.1.3 configured in my computer. Also i'm using typescript. After installing kinvey-nativescript-sdk and after importing it.This is the code snippet that i'm using to connect my app with kinvey:
appKey: '------',
appSecret: '---------------------------'
});
Kinvey.ping()
.then((response) => {
console.log(`Kinvey Ping Success. Kinvey Service is alive, version: ${response.version}, response: ${response.kinvey}`);
})
.catch((error) => {
console.log(`Kinvey Ping Failed. Response: ${error.description}`);
});
I confirm to have followed all the instructions that are in the getting started.
rm -rf node_modules rm -rf platforms tns plugin remove tns-core-modules tns plugin add tns-core-modules // or tns plugin add tns-core-modules@next for the next verison tns run android // or ios
npm install tns-core-modules@latest --save
If above suggestion doesn't help, I will need to escalate this issue to our NativeScript experts.
Thanks,
Pranav
Kinvey
Mactar Toure
Hello everybody,
I am new in nativescript, I want to connect my app with kinvey.
I get this error when i want to test the connexion between my app and the backend service
kinvey_nativescript_sdk_1.Kinvey.ping is not a function
Thanks in advance
1 person has this question