Skip to content

Getting Started

Requirements

Configuration

Install TypeScript package

npm install @senspark/ee-x

Android

Modify build.gradle

repositories {
    mavenCentral()
}

dependencies {
    implementation 'com.senspark.ee:core:2.8.0'
}

Clone the repository and let PATH be where you cloned the repository to

For ndk-build users

Modify Android.mk

$(call import-add-path, PATH)
$(call import-module, ee-x)
LOCAL_STATIC_LIBRARIES += ee_x

For cmake users

Modify CMakeLists.txt

add_subdirectory(PATH/ee-x ${PROJECT_BINARY_DIR}/ee-x)
target_link_libraries(${PROJECT_NAME} ee_x)

iOS

Install CocoaPods and modify Podfile

pod 'ee-x/cpp', '2.8.0'

Initialization

import * as ee_x from '@senspark/ee-x';

// Call this method only once.
ee_x.PluginManager.initializePlugins();