Hey.
I attempt to implement iap purchases for cocos creator (editor model 3.5.0) and have some troubles.
I attempt to use SDKBox, however after compile android APK and launch it i’ve an error that native technique not discovered.
After some looking i perceive that every one manuals corresponds to listing like proj.android and Android.mk information, however i’ve nothing like that. It looks like all manuals was for two.0 editor.
So the query – how am i able to implement andoird and ios purchases in cocos creator 3.5?
Please assist…
So after some analysis i discovered that CMakeLists in native/android dont embrace any gadgets like
add_definitions(-DSDKBOX_ENABLED)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/app/jni/sdkbox/)
target_link_libraries(${LIB_NAME} ext_sdkbox)
I add it manualy, however it appears there are extra missings