Skip to main content

Intel Security

The App Security API enables the use of security properties and capabilities on the platform, using a new set of API defined for application developers. You are not required to be a security expert to make good use of the API. Key elements, such as encryption of data and establishments of capabilities, is abstracted and done by the API implementation, for you.

For example:

  • Use the API to store (E.g. cache) data locally, using the device non-volatile storage. Data protection/encryption will be done for you by the API implementation
  • Establish a connection with remote server (E.g. XHR) using a protected channel. SSL/TLS establishment and usage will be done for you by the API implementation

For more information please visit the API documentation.

https://github.com/AppSecurityApi/com-intel-security-cordova-plugin

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install com-intel-security-cordova-plugin
$ npm install @ionic-native/intel-security
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS
  • Windows
  • Windows Phone 8

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { IntelSecurity } from '@ionic-native/intel-security/ngx';
...
constructor(private intelSecurity: IntelSecurity) { }
...
let storageID = 'id';
this.intelSecurity.data.createFromData({ data: 'Sample Data' })
.then((instanceID: Number) => this.intelSecurity.storage.write({ id: storageId, instanceID: instanceID }))
.catch((error: any) => console.log(error));
this.intelSecurity.storage.read({id: storageID })
.then((instanceID: number) => this.intelSecurity.data.getData(instanceID))
.then((data: string) => console.log(data)) // Resolves to 'Sample Data'
.catch((error: any) => console.log(error));
this.intelSecurity.storage.delete({ id: storageID })
.then(() => console.log('Deleted Successfully'))
.catch((error: any) => console.log(error));