Assign SIM Info to variable


#1

Hi

I am using the folllowing plugin to get the Sim card information

its usage is as follows

Sim.getSimInfo().then(
  (info) => console.log('Sim info: ', info),
  (err) => console.log('Unable to get sim info: ', err)
);

I want to assign the (info) => to a variable in my ts file. the info is in jason format. Any help will be great