Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not supported on SDK 8 #34

Open
ffMathy opened this issue Feb 26, 2019 · 14 comments
Open

Not supported on SDK 8 #34

ffMathy opened this issue Feb 26, 2019 · 14 comments

Comments

@ffMathy
Copy link

ffMathy commented Feb 26, 2019

I can't get this working on Appcelerator SDK 8 RC.

@jkotchoff
Copy link

Same. @hansemannn, are there any plans to introduce 8.0.0.GA support for this module?

@jkotchoff
Copy link

Hans, apologies if this is pulling you into something you no longer support - I forgot you are no longer with Appcelerator.

@m1ga
Copy link
Contributor

m1ga commented Mar 27, 2019

Is there any error? It is compiled for 7.x so it should work in 8, too. Unless there are any errors when using it

@hansemannn
Copy link
Contributor

Probably the updated play-services. We can work on this, but it'd need to be quoted.

@jkotchoff
Copy link

This is a pretty crucial module so updating for play-services seems pretty important. What's involved in getting it 'quoted'?

@m1ga
Copy link
Contributor

m1ga commented Mar 27, 2019

@jkotchoff I have to ask again: what error do you get? I can compile the current 5.0.0 module fine with Ti SDK 8.0.0. I don't "use" it besides requiring it so I can't test any functionality. But compiling works fine.

@hansemannn it looks like it doesn't use any external libraries

@jkotchoff
Copy link

Sorry guys, this was my mistake. I believe this module is working correctly for Ti SDK 8.0.0 when it sits alongside version 16.1.2 of ti.playservices. In my case, the error I was seeing was actually coming from a different module (ti.admob). I think this issue can probably be closed and one needs to be opened for ti.admob instead. Apologies again.

@AppWerft
Copy link

AppWerft commented Apr 9, 2019

this inappbilling can work with playservice or with aidl. The Titanium module uses aidl and don't need external libraries.

@AppWerft
Copy link

AppWerft commented Apr 9, 2019

The method queryInventory() seems to contain the result of getPurchases(). Not sure. There is a ticket about it. https://jira.appcelerator.org/browse/MOD-2494

Maybe getPurchaseHistory() is missing.

@deckameron
Copy link

I am getting this error when using it with SDK 8.0.0 on android 9 device.
The error does not happen on Android 8 or 7 devices.

05-06 15:33:47.029: E/AndroidRuntime(12807): FATAL EXCEPTION: main
05-06 15:33:47.029: E/AndroidRuntime(12807): Process: com.douglas.test, PID: 12807
05-06 15:33:47.029: E/AndroidRuntime(12807): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium13TypeConverter18javaLongToJsNumberEPN2v87IsolateEx" referenced by "/data/app/com.douglas.test-yu0XAW6GgEtd5GvmHnEiDg==/lib/arm64/libti.inappbilling.so"...
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at java.lang.System.loadLibrary(System.java:1669)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:131)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:105)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:167)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:109)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at com.douglas.test.TestApplication.onCreate(TestApplication.java:318)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5920)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.app.ActivityThread.access$1100(ActivityThread.java:200)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.os.Handler.dispatchMessage(Handler.java:106)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.os.Looper.loop(Looper.java:193)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at android.app.ActivityThread.main(ActivityThread.java:6718)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at java.lang.reflect.Method.invoke(Native Method)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-06 15:33:47.029: E/AndroidRuntime(12807): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

@deckameron
Copy link

This solves the issue.

@jkotchoff
Copy link

According to Appcelerator, this module is not supported anymore:
https://jira.appcelerator.org/browse/MOD-2526

@AppWerft
Copy link

AppWerft commented Jul 1, 2019

Maybe this helps you: https://github.com/AppWerft/ti.inappbilling

@hansemannn
Copy link
Contributor

We just finished developing a new version of Play Billing (the modern alternative to the deprecated AIDL billing that is used here). It is written in modern Kotlin, supports all kind of subscriptions and has extensive docs and example code around it. You can find more details here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants