Storing Data

ALL SNAP PROGRAMS ARE READ ONLY, you cannot write into the program.

If one wants to store additional information such as EiToken and SToken, you would need to store them in a designated place that Snap has provided.

The path is '/var/snap/ei-mms(enter your snapname here)/current/dSIM.json(enter the name of the file here'

For more details of the implementation, you can visit https://github.com/motebus/ei-mms to see how it's written.

‚Äč