Libgdx robovm ios bindings for IAP - android

I want to implement ios In app purchase in my libgdx game. Im using Android studio
I'm searching for robovm ios bindings, but only that I found is https://github.com/BlueRiverInteractive/robovm-ios-bindings , but this bindings are deprecated. On suggested link https://github.com/robovm/robovm-robopods there isn't any binding for ios IAP.
Is there any other working binding for this purpose?
Can I use (and how) this deprecated BlueRiverInteractive binding in my Android Studio project?
I don't want to use gdx-pay because I don't want to change my android part of my game (I already have implemented android in app purchase for google play store)
Any help would be appreciated
Thanks

RoboVM has now a new RoboPod called Robo.Billing which allows you to implement cross-platform in app purchases in your app:
https://github.com/robovm/robovm-robopods/tree/master/components/robo.billing
There is no documentation yet, but you can take a look at the sample app:
https://github.com/robovm/robovm-samples/tree/snapshot/robopods/components/robo.billing
Take a look at the the core project of the sample. You can do all in app purchasing in the core project, you do not need to change any code in your iOS project.
If you also want to let Robo.Billing handle Android IAPs you will have to implement some code in onActivityResult or your launch activity (just check the android project of the sample).
Also don't forget to add the necessary dependencies to your build.gradle:
core: compile "org.robovm:robopods-billing-core:1.13.1-SNAPSHOT"
ios: compile "org.robovm:robopods-billing-ios:1.13.1-SNAPSHOT"
android: compile "org.robovm:robopods-billing-android:1.13.1-SNAPSHOT"

Related

Dynamic Feature Module with Flutter

I am a Native Android Developer and I was learning Dynamic Feature Module from here
But I also work with flutter. So, is this feature available in flutter?
It is not but flutter now has ability to add flutter to existing android app which you can use for that case, I.e build all submodule in flutter and add or load them in a native app, I hope you got an idea.
Looks like work is being done to support Dyanmic Features in Flutter in the future.
https://github.com/flutter/flutter/commit/a76bb1a08e3d22ea73a5f8005e6e46925ee938c3
As of this time, support for Dynamic Features has not been announced.
"UPDATE" - Flutter's Deffered-Components is meant for dynamic feature modules. It build apps that can download additional Dart code and assets at runtime.
OLD Reply - Flutter supports Android App Bundles too (just like for Android App using Java/Kotlin) as mentioned here and this Pull request. App bundles allows Dynamic feature module support, hope this helps.
Maybe if a flutter functionality could be wrapped in a dynamic feature module. https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps

Can we use an android library (aar) in a GeneXus android app?

We have an android library for mobile data gathering (location, mobile device, etc.) that I would like to share with a partner. This aar component was developed using java and android studio, vanilla stuff.
Problem is, this partner is using GeneXus platform. I have performed a research and what I have found is that you can create an android component using GeneXus, but nothing related to consuming one (an external aar file).
Does anyone know if that is possible?
I also have verified that you can have access to "some" device data, like geo localisation, but that is it. Point is, I could create something in GeneXus, however with far less data richness than native android.
Yes, you can extend Genexus Android native app by using any native library you need to use.
Genexus provide Extensions Library for extensibility in native application.
You can create an External Object in Genexus and then use it in your application.
You can find a full sample in Github with step by step documentation:
https://github.com/genexuslabs/SDExtensionsSample
Best,

Using Publishing api in android to publish apk from android device

i want to create an android app which will allow to publish apk from my android device. i searched regarding Publishing API and referred publishing-api but it states that it is possible through Java app. I want to implement it in my android app. Is it possible to do that? Can i use publishing-api in android application?
Thank you.
An example on how to use the publishing api can be found here:
https://github.com/googlesamples/android-play-publisher-api
This code can easily ported to android, just add the
compile 'com.google.apis:google-api-services-androidpublisher:v2-rev19-1.20.0' dependency to your app and it should download all the required depenencies.
As Android apps also use Java you can basicaly just copy/paste the sample code and modifly it to your needs.

Does Unity's Social API need some plugins for Android?

According to what I've understood, you don't need any plugin to implement Social API's interfaces for iOS because it uses a default implementation from Game Center.
So my question is for Android. Does it need a plugin to implement it or use a default implementation like Google Play Service?
As far as I am aware you do need a plugin, luckily Google have stepped up and released an Open-Source plugin :)
https://github.com/playgameservices/play-games-plugin-for-unity
Amazon also has Unity plugins for GameCircle as well as In-App Purchasing. There are inside the Mobile SDK: https://developer.amazon.com/public/resources/development-tools/sdk

Opentok module for Titanium SDK that supports both Android and IOS?

I am developing a mobile application using Titanium SDK. This is my first mobile app. Most of the app is done successfully. The only module that remains is Video conference support. The company I am working in has chosen to use Opentok SDK. I finished the web application and it works fine. Now I've hit a wall in mobile app and can't move further. The problem is Opentok provides a module to use for Titanium, But it only supports build to IOS not Android. The reason we chose Titanium is for cross platform support.
Is there any module available to use or any other way to implement Opentok with Titanium that builds into both Android and IOS.
I have already tried using a WebView to open the conference module of web application. But bad luck, Opentok only works with chrome browser in mobile. But WebView utilizes native stock browser which does not support WEBRTC. So, opentok doesn't work with webview too.
Please help me. This is my first app and I am stuck at this point.
To Create a Module for OpenTok Android:
These are the steps I would follow.
Create a new Android module: titanium.py create --type=module --id=com.tokbox.ti.opentok --platform=android --name=opentok-titanium
Follow the installation instructions from OpenTok for Android. (Hint: I added a separate section down below to help you get through their instructions.)
Make sure the module runs: ant run.emulator or ant install.
Try running their sample, fully in JAVA, completely separate from Titanium. Make sure it works, and you know what it should look like. Then, figure out what exactly you need from their API. Or, if you're feeling ambitious, decide you want everything. Work to strip down the example to just the surface area that you need. Simplify it down to the least number of files you feel makes sense.
Write an example/app.js that demonstrates how you want the module to be used. For example, maybe you'd start off by requiring the module, then setting some API + Session keys, then calling some API, etc.
Based on the documentation, port what you need in to your module. Reference the Appcelerator Android module dev guide and open source Android modules for inspiration.
Write documentation for the module to specify what the various properties, methods, etc are, so that other developers can figure out how to use the module.
When you're done, submit a PR to OpenTok and revel in your creation and contribution.
Some Hints for Step 2:
.jar files go in lib/.
.so files go in platform/android/libs/armeabi/
Permissions go in timodule.xml, and you can see an example in the open source PayPal module for Android
OpenTok does not work with WebView. OpenTok support for Titanium Android does not currently exist because it is currently in beta and we don't currently have engineering bandwidth to build a Titanium Android integration. However, if you are familiar with Titanium, you are more than welcome to add the integration yourself and send a pull request. You can get the Android beta here and you can get titanium source code here
If you are in a hurry and open to trying other frameworks, our PhoneGap Plugin currently supports both android and ios.

Categories

Resources