Start a new topic

Kinvey global not defined in v3.0 Javascript SDK

 

 I've created a very simple setup following the Getting Started Guide 


<pre>

<script src="https://da189i1jfloii.cloudfront.net/js/kinvey-html5-sdk-3.0.0-beta.18.min.js"></script>

 

and in an onLoad() handler

{

  Kinvey.init({ appKey: '<appKey>', appSecret: '<appSecret>'});

}

</pre>


I find that Kinvey is not defined on the Window global object, though KinveyDevice and KinveyPopup are


I also tried the non min version on GitHub, but the same problem


Here is my test code

https://github.com/OpenDirective/spikes/tree/master/kinvey-tests


it breaks here as Kinvey is not defined

https://github.com/OpenDirective/spikes/blob/master/kinvey-tests/src/test.js#L10





Duplicate question

Hi Steve,


I checked out your test code and noticed that you are now using local copy of Kinvey SDK. Did that change anything?


Also, have you tested this with v3.0.0-beta.17 to confirm if this is not only because of v3.0.0-beta.18 release?



Regards,

Wani

Kinvey Support