Arc XP Mobile SDK - FAQ
Important
The Arc XP Mobile SDKs are now open source!
Arc XP Mobile SDKs are now maintained by the community. The Arc XP team does not actively develop Mobile SDKs. Check our Mobile GitHub discussion and developer documentation.
General
Do I have to use the Subscriptions Module in the SDK if I just want to show content or video?
No. Both Content and Subscriptions are optional features of the Mobile SDK. If you wish to implement the Arc XP Paywall or Login the Subscriptions Module will be required. If you are using your own Paywall and Login implementation then the Subscriptions Module is not required.
Subscriptions
How do I setup third-party login options?
You must create a developer account on Google, Facebook or Apple and generate a security key that you will load into the Subscriptions SDK Module on initialization. See Setting authentication providers.
Android
Does the SDK handle content elements that are not listed?
Yes. If the content type you are trying to use is not supported by one of the explicit get methods, you can use the getContentSuspend
call that will return a ArcXPContentElement
object.
Is Picture-in-Picture mode available in video player?
Yes. Implementing the XPVideo SDK will allow you to enable the Picture-in-Picture mode in the Builder class when creating the ArcMediaPlayerConfig
object.
val mediaPlayer = MediaPlayer.createPlayer(this) val config = ArcMediaConfig.Builder() .setActivity(this) .setVideoFrame(arcVideoFrame) .enablePip(true) .setViewsToHide(view1, view2, view3 ….) ... .build() mediaPlayer.configureMediaPlayer(config)
For more information, see Mobile SDK - Configuring the Video Player on Android.
How do I add the SDKs into my Android Studio app?
Inside your build.gradle(:app) file, add the following dependencies: implementation
'arcxp-sdk-android:arcxp-mobile-sdk-android:1.0.1'
*You must have credentials from Maven
iOS
What iOS software versions are supported?
Currently version 14.0 and above are supported in the SDK.
What SDKs are required?
Both arc-mobile-podspecs and the arcxp-ios repos are required to run the app.