| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Currently we just support SDK for Video Interview
Requirements :
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.astrnt:qa-sdk-android:latest-version'
}
flavorDimensions "mode"
productFlavors {
beta {
dimension "mode"
applicationIdSuffix ".betasdk"
buildConfigField "boolean", "BETA", "true"
buildConfigField("String", "API_URL", '"http://beta.astrnt.co/api/"')
buildConfigField ("int", "SDK_VERSION", "100")
}
live {
dimension "mode"
buildConfigField "boolean", "BETA", "false"
buildConfigField("String", "API_URL", '"http://app.astrnt.co/api/"')
buildConfigField ("int", "SDK_VERSION", "100")
}
}
private static AstrntSDK astrntSDK;
public static AstronautApi getApi() {
return astrntSDK.getApi();
}
private void setUpSDK() {
if (astrntSDK == null) {
astrntSDK = new AstrntSDK(this, BuildConfig.API_URL, BuildConfig.DEBUG);
}
}
@Override
public void onCreate() {
super.onCreate();
setUpSDK();
}
<service android:name="co.astrnt.qasdk.videocompressor.services.VideoCompressService"/>
<service android:name="co.astrnt.qasdk.upload.SingleVideoUploadService"/>
File file = new File(videoUri.getPath());
VideoCompressService.start(context, file.getAbsolutePath(), AstrntSDK.getCurrentQuestion().getId());
Sorry, we no longer answer questions from repository issues. If you need any assistance, please contact developers@astrnt.co
| Back | FazBrowse Home | New Git URL |