Clone the MyScript Git repository containing the examples for the iOS platform and navigate to the root of the folder containing the applications:
git clone https://github.com/myscript/interactive-ink-examples-ios
cd interactive-ink-examples-ios/Examples
Navigate to the root folder of the example application you want to run:
cd GetStarted for a simple example written in Swift.
Xcode will automatically retrieve the Swift Package Manager dependencies.
Place the certificate *.c file you've received by email into the GetStarted/MyScriptCertificate/ directory.
Open the Xcode workspace, then compile and run the default target.
Clone the MyScript Git repository containing the examples for the Android platform and navigate to the root of the folder containing the applications:
git clone https://github.com/myscript/interactive-ink-examples-android
cd interactive-ink-examples-android
Place the MyCertificate.java file you've received by email into the GetStarted/src/main/java/com/myscript/certificate/ directory.
Open the interactive-ink-examples-android directory as an existing Android Studio project. The Gradle dependencies will be fetched and the project should compile successfully.
If you encounter a compile error like No version of NDK matched the requested version, install the requested NDK version or update the one referenced in build.gradle to match your installed NDK version. See the Android NDK install guide.
Clone the MyScript Git repository containing the examples for Windows and navigate to the root of the folder.
For the Universal Windows Platform (UWP):
git clone https://github.com/myscript/interactive-ink-examples-uwp
cd interactive-ink-examples-uwp
For "traditional" Windows desktop .NET development using WPF:
git clone https://github.com/myscript/interactive-ink-examples-wpf
cd interactive-ink-examples-wpf
Replace the MyCertificate.cs file in the GetStarted directory with the one you've received by email.
Depending on your platform, open the appropriate solution file:
iink-examples.uwp.sln
iink-examples.wpf.sln
Set GetStarted as your startup project by right-clicking it in the solution explorer and selecting Set as Startup Project.
Then use an existing project or start a fresh one:
npm init
Install the iink dependency in your project folder:
npm install iink-ts
Copy the contents of index.html into your project folder. Edit the index.html file and replace the applicationkey and hmackey attributes with the values you've received by email.
Launch a webserver serving the directory containing the dependencies and the index.html file, for example: