Help with Ionic Offline data transfer

There is this Ionic 2-3 App am working on.

I want to perform offline transaction by transferring data between two devices without the aid of any network.

The objective was to use Bluetooth but I could not achieve it.

Now am trying to use Hotspot plugin to create a connection between two devices which I did successfully but I cannot transfer any data (amount) between the two connected devices.

Goal: Transfer data (amount) to be debited or credited on the users offline balance once the connection has been created. Again am using sqlite plugin for offline storage.

Steps: Store some part of user fund offline from their online account when connected; for offline transaction then debit or credit the parties involved and save the transaction details locally later sync the transactions.

I can send (the hotspot code).