Full Changelog
Enhancements
- MLIBZ-2422: Add validation that checks if a
redirectUri
provided to mic.login()
is a string. If the redirectUri
is not a string then an Error
will be thrown. #283
- Conforms the use of the iOS keychain to use the same settings as our Swift SDK. #257
- MLIBZ-2429: Don't include the
Push
module by default in the SDK bundle. #282
- Update the
Push
module to use the latest version of the NativeScript Push Plugin. onMessageReceived()
callback for Android was deprecated and added some new config options for iOS. #285
- MLIBZ=2446: Add support for
kinveyFileTTL
and kinveyFileTLS
query parameters for KinveyFile references on a DataStore collection. #289
var dataStore = Kinvey.DataStore.collection('pets');
dataStore.findById('3f583e9f-d064-4a25-a953-6cf0a3dc2ff1', { kinveyFileTTL: 3600, kinveyFileTLS: true })
.subscribe(function(pet) {
/*
{
"_id": "3f583e9f-d064-4a25-a953-6cf0a3dc2ff1",
"_acl": {...},
"dogName": "Bob",
"furColor": "brown with black spots",
"pawPrintPicture": {
"_type": "KinveyFile",
"_id": "325620e4-93dd-4a26-9f84-8a5e62c0db11",
"_filename": "bobsPawPrint.png",
"_acl": { ... },
"_downloadURL": <Google Cloud Storage download URL>,
"_expiresAt": "2018-06-18T23:07:23.394Z"
}
}
*/
}, function(error) {
// ...
});
Bug Fixes
- MLIBZ-2307: Use the correct config options to unregister push on iOS and Android. #284