GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fluttercuba/apklis-payment-checker-flutter: Plugin de Flutter para el chequeo de pagos de Apklis

BranchesTags
Open more actions menu

Latest commit

 

History

90 Commits
90 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
android
android
 
 
example
example
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.metadata
.metadata
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
pubspec.yaml
pubspec.yaml
 
 

Repository files navigation

Apklis Payment Checker para Flutter

License: MIT Pub Version tests Last commit GitHub commit activity Github Stars Github Forks Github Watchers GitHub contributors style: lint

Plugin de Flutter para el chequeo de pagos de Apklis

Disponible en Pub.dev: https://pub.dev/packages/apklis_payment_checker

Instalación

Añade el plugin a las dependencias de tu proyecto:

dependencies:
  apklis_payment_checker: ^1.0.0

🚧 Si tu app se orienta a Android 11 (nivel de API 30) o versiones posteriores debes agregar las siguientes líneas en el archivo AndroidManifest.xml:

  1. Agrega el permiso <package android:name="cu.apklis.payment" />:

    <manifest package="cu.fluttercuba.apklis_payment_checker_example">
        <queries>
            <package android:name="cu.apklis.payment" />
        </queries>
        ...
    </manifest>
  2. Agrega la bandera android:exported="true" al activity de la aplicación:

    ...
    <activity
        android:name=".MainActivity"
        ...
        android:exported="true">
    ...

    Ver el archivo AndroidManifest.xml del ejemplo de este repositorio.

Uso

var status = await ApklisPaymentChecker.isPurchased();
print(status.paid);
print(status.username);

Si se desea usar un nombre de paquete diferente al de la aplicación el método isPurchased puede recibirlo como parámetro:

final packageId = 'com.example.nova.prosalud';
var status = await ApklisPaymentChecker.isPurchased(packageId);
print(status.paid);
print(status.username);

Para conocer información sobre Apklis:

var apklisInfo = await ApklisPaymentChecker.getApklistInfo();
print(apklisInfo.isInstalled);
print(apklisInfo.versionName);
print(apklisInfo.versionCode);

Ejemplo completo disponible en: https://pub.dev/packages/apklis_payment_checker/example

About

Plugin de Flutter para el chequeo de pagos de Apklis

pub.dev/packages/apklis_payment_checker

Topics

apklisdartdart-packageflutterflutter-pluginfluttercubaopensource

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

16 stars

Watchers

5 watching

Forks

5 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.