MATM SDK LINK

Permission

1 - Need to enable location permission at the application level (otherwise scanning device issue)
2 - Need to Bluetooth permission at the application level (otherwise scanning device issue)

Device MANUFACTURED
AF60S - 3

service android :name="com.anfu.pos.library.bluetooth4.BluetoothLeService" android :enabled="true"
Code to be added in calling application's manifest with close tag in service

LIVE SDK LINK

https://docs.paysprint.in/matm/FINOSDK/LIVE_AAR/FINO_PS_MATM.aar

https://docs.paysprint.in/matm/FINOSDK/LIVE_AAR/PS_MATM_2.0.2.aar

LIVE DEMO APP LINK

https://drive.google.com/file/d/1AOkCX5zIew9VSXYxKNFN6w-oC_jPgMdW/view?usp=drive_link

📘

CALLING Intent

Intent intent = new Intent(this, MatmHostActivity.class);
intent.putExtra("partnerid", ""); //PROVIDED BY PAYSPRINT
intent.putExtra("partnerapikey", JWT key); //JWT KEY
intent.putExtra("submerchantid", ""); //merchant unique code and should not contain special
intent.putExtra("mobile", "");
intent.putExtra("amount", ""); //Pass default amount 0
intent.putExtra("remarks", "Test");
intent.putExtra("latitude", lat);
intent.putExtra("longitude", lng);
intent.putExtra("txnid", ""); // unique
intent.putExtra("ttype", "ATMBE");// ATMBE for balance enquiry & ATMCW for cash withdrawal
launcher.launch(intent);

📘

Note : If you are getting below mentioned error.

AndroidRuntime: FATAL EXCEPTION: main
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.finopaytech.finosdk.helpers.FinoApplication.register(java.lang.Object)' on a null object reference

Need to integrate the below mentioned code.

import android.app.Application;
import android.content.Context;

import com.finopaytech.finosdk.helpers.FinoApplication;

public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
FinoApplication.init(this);
}

@Override
protected void attachBaseContext(Context context)
{
    super.attachBaseContext(context);
MultiDex.install(context);
}

}

<application
    android:name=".MyApplication"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:networkSecurityConfig="@xml/network_security_config"
    android:theme="@style/FinoAppTheme.NoActionBar">
    <activity
        android:name=".MyApplication"
        android:exported="true">
        
    </activity>