In-app purchase data is null in Framework 7 InnerHTML

Whenever I start my application, the data comes in InnerHTML. But on clicking the back button and then again when I get it back on the screen, the data is null… I am using Framework 7 , Cordova.

Plugin :

cordova plugin add cordova-plugin-purchase

Please help me…

Maybe consider using the Store to save data in order for each individual page to access it: Store | Framework7 Documentation