[MWA-5012] MetaPlugin-Integration-Demo aktualisieren
This commit is contained in:
		
							parent
							
								
									5bbcb07a23
								
							
						
					
					
						commit
						649659df1c
					
				@ -10,7 +10,7 @@ android {
 | 
			
		||||
 | 
			
		||||
    defaultConfig {
 | 
			
		||||
        applicationId "de.webidsolutions.metaplugindemo"
 | 
			
		||||
        minSdkVersion 24
 | 
			
		||||
        minSdkVersion 28
 | 
			
		||||
        targetSdkVersion 34
 | 
			
		||||
        versionCode 1
 | 
			
		||||
        versionName "1.0.0"
 | 
			
		||||
@ -62,7 +62,7 @@ dependencies {
 | 
			
		||||
    // webid product-plugin
 | 
			
		||||
    //noinspection GradleDependency
 | 
			
		||||
 | 
			
		||||
    def product_catalog_version = "13.4.3"
 | 
			
		||||
    def product_catalog_version = "15.0.0"
 | 
			
		||||
    implementation ("de.webid-solutions:android_meta_plugin:$product_catalog_version") {
 | 
			
		||||
        changing = true
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -24,6 +24,7 @@ import de.webidsolutions.mobile_app.sdk.impl.AsyncTaskResultGeneric
 | 
			
		||||
import de.webidsolutions.pay_on_server_product_plugin.PayOnServerProductPlugin
 | 
			
		||||
import de.webidsolutions.plugin_core.IProductPluginWebId
 | 
			
		||||
import de.webidsolutions.video_ident.plugin.videocall.VideoOptionsConfig
 | 
			
		||||
import de.webidsolutions.video_ident_product_plugin.VideoIdentProductPlugin
 | 
			
		||||
import java.lang.Integer.parseInt
 | 
			
		||||
import java.net.URI
 | 
			
		||||
 | 
			
		||||
@ -35,7 +36,7 @@ private val config = VideoOptionsConfig(
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// TODO insert your Action id
 | 
			
		||||
private const val actionId = "279945707"
 | 
			
		||||
private const val actionId = "304914809"
 | 
			
		||||
 | 
			
		||||
// TODO choose your environment
 | 
			
		||||
private val chosenEnvironment: EWebIDEnv = EWebIDEnv.TEST
 | 
			
		||||
@ -101,8 +102,7 @@ internal class MainActivity : AppCompatActivity() {
 | 
			
		||||
            username,
 | 
			
		||||
            apiKey,
 | 
			
		||||
            this.applicationContext,
 | 
			
		||||
            selectProductPlugins,
 | 
			
		||||
            config
 | 
			
		||||
            selectProductPlugins
 | 
			
		||||
        )
 | 
			
		||||
        MetaPluginVerifyTask(metaPlugin)
 | 
			
		||||
            .setOnPostExecuteCallback(metaPluginVerifyCallback(metaPlugin))
 | 
			
		||||
@ -137,6 +137,7 @@ internal class MainActivity : AppCompatActivity() {
 | 
			
		||||
                if (autoIdOnServerPluginCb.isChecked) AutoIdentOnServerProductPlugin() else null,
 | 
			
		||||
                if (payOnServerPluginCb.isChecked) PayOnServerProductPlugin() else null,
 | 
			
		||||
                if (eidOnServerPluginCb.isChecked) EIdOnServerProductPlugin() else null,
 | 
			
		||||
                VideoIdentProductPlugin(config)
 | 
			
		||||
            )
 | 
			
		||||
        )
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user