Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
kinvey-titanium-sdk
Advanced tools
Kinvey (pronounced Kin-vey, like convey) makes it ridiculously easy for developers to setup, use and operate a cloud backend for their mobile apps. They don't have to worry about connecting to various cloud services, setting up servers for their backend, or maintaining and scaling them.
This node and bower module makes it very easy to connect your Titanium app with Kinvey.
To use the SDK, sign up for Kinvey if you have not already done so. Go to the sign up page, and follow the steps provided.
Download the sdk by visiting the Titanium Downloads Page and add it to your project. Preferably, put it in a directoy named app/lib
. Make sure the lib
directory is located inside your app
directory otherwise you might receive an error that the Kinvey SDK is not build for arm64.
If you are using the Alloy framework, add the snippet below to app/alloy.js
. The SDK is now globally available under Alloy.Globals.Kinvey
.
var Kinvey = Alloy.Globals.Kinvey = require('kinvey-titanium-sdk');
If you are not using the Alloy framework, add the snippet below to Resources/app.js
. The SDK is globally available under Kinvey.
var Kinvey = require('kinvey-titanium-sdk');
Next, use Kinvey.init
to configure your app. Replace <appKey>
and <appSecret>
with your apps app key and secret. You can find these for your app using the Kinvey Console App.
Kinvey.init({
appKey: '<appKey>',
appSecret: '<appSecret>'
});
You can use the following snippet to verify the app credentials were entered correctly. This function will contact the backend and verify that the SDK can communicate with your app.
Kinvey.ping().then(function(response) {
console.log('Kinvey Ping Success. Kinvey Service is alive, version: ' + response.version + ', response: ' + response.kinvey);
}).catch(function(error) {
console.log('Kinvey Ping Failed. Response: ' + error.message);
});
You are now ready to start building your awesome apps! Next we recommend diving into the User guide or Data store guide to learn more about our service, or explore the sample apps to go straight to working projects.
npm run build
TravisCI will deploy the pacakge to NPM.
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
. See Version Management for more info on incrementing the version.Updating the package version should follow Semantic Version 2.0.0:
Note: Before running any tests you will need to run npm install
to install any dependencies required.
npm test
Copyright 2016 Kinvey, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
Kinvey JavaScript SDK for Titanium applications.
The npm package kinvey-titanium-sdk receives a total of 4 weekly downloads. As such, kinvey-titanium-sdk popularity was classified as not popular.
We found that kinvey-titanium-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.