Use the Insert SDK (currently iOS only) in Axway Hyperloop! This is an example of using the SDK, so this does not expose all possible API's of the SDK. See the official documentation for details.
- Include the Hyperloop module in your tiapp.xml:
<module>hyperloop</module>
- Add
pod 'Insert'
to your Podfile. - Get an API-key and URL-scheme from the Insert homepage
- Configure the URL scheme in your tiapp.xml:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.appc.sample.insert</string>
<key>CFBundleURLSchemes</key>
<array>
<string>insert-xxxxxxxx</string>
</array>
</dict>
</array>
- Import the Hyperlop module (ES6+)
import TiInsert from 'ti.insert';
Simply initialize the SDK and things like URL-schemes will be handled for you using the handleurl
event.
TiInsert.initialize({
apiKey: '<your-api-key',
companyName: '<your-company-name>', // optional
initParams: {} // optional
});
Apache 2.0
- Darren Mason (Axway Appcelerator)
- Hans Knöchel (Axway Appcelerator)