apklispaidchequed

Check app is paid in Apklis or has update on Apklis | Comprobar si la app ha sido pagada en Apklis o hay actualizaciones en Apklis


Project maintained by cz9dev Hosted on GitHub Pages — Theme by mattgraham

Check app is paid in Apklis

Installing

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
   implementation 'com.github.cz9dev:apklispaidchequed:$VERSION'

Usage

    var paidCheked = PaidCheked.isPurchased(this, PACKAGE_ID)
    when (paidCheked){
        "result00" -> Toast.makeText(this,"El movil no cuenta con la aplicacion Apklis instalada.",Toast.LENGTH_LONG).show()
        "result02" -> Toast.makeText(this,"No se encuentra autenticado en Apklis.",Toast.LENGTH_LONG).show()
        "result03" -> Toast.makeText(this,"Usted no ha comprado la aplicación en Apklis.",Toast.LENGTH_LONG).show()
        "result04" -> Toast.makeText(this,"Compra verificada en Apklis.",Toast.LENGTH_LONG).show()
    }
String paidCheked = PaidCheked.Companion.isPurchased(this, PACKAGE_ID);
	switch (paidCheked) {
    	case "result00":
        	Toast.makeText(this, "El movil no cuenta con la aplicacion Apklis instalada.", Toast.LENGTH_LONG).show();
		case "result02":
			Toast.makeText(this, "No se encuentra autenticado en Apklis.", Toast.LENGTH_LONG).show();
		case "result03":
			Toast.makeText(this, "Usted no ha comprado la aplicación en Apklis.", Toast.LENGTH_LONG).show();
		case "result04":
			Toast.makeText(this, "Compra verificada en Apklis.", Toast.LENGTH_LONG).show();
		default:
			Toast.makeText(this, "Puede continuar", Toast.LENGTH_LONG).show();
    }

Contributing

All contributions are welcome!!!

Developers

cz9dev