This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
No response from Promise on HyperTrack.initialize() #5
Open
Description
When calling HyperTrack.initialize() on transitional-api branch (#4) the native code is called, but there is no response.
node_modules/@awesome-cordova-plugins/hyper-track/index.js
HyperTrack.initialize = function (publishableKey) {
return new Promise(function (resolve, reject) {
console.log("1")
new HyperTrackPluginOriginal()
.initialize(publishableKey)
.then(function (cordovaInstance) {
console.log("2")
resolve(new HyperTrack(cordovaInstance));
})
.catch(function (err) { return reject(err); });
});
};
"1" is printed, "2" isn't. No error.
Metadata
Metadata
Assignees
Labels
No labels