Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 2.04 KB

frequently-asked-questions.md

File metadata and controls

52 lines (42 loc) · 2.04 KB

Frequently Asked Questions

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 the Subscriptions Module will be required. If you are using your own Paywall and Login implementation then the Subscriptions Module is not required.
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.

Documentation for Social Account Setup

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 Video SDK will allow you to enable the Picture-in-Picture mode in the Builder class when creating the ArcXPVideoConfig object.
val mediaPlayer = MediaPlayer.createPlayer(this)
val config = ArcMediaConfig.Builder()
	.setActivity(this)          
	.setVideoFrame(arcVideoFrame)  
	.enablePip(true)       
	.setViewsToHide(view1, view2, view3 ….) 
	...
	.build()
	
mediaPlayer.configureMediaPlayer(config)

More information regarding Video configuration

How do I add the SDK into my Android Studio app?
Inside your build.gradle(:app) file, add the following dependencies (use latest version):
implementation 'arcxp-sdk-android:arcxp-mobile-sdk-android:1.3.1'