Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
Contributor
Dritanxha
Posts: 22
Registered: ‎02-26-2013
My Device: Z10

Re-installing app RETAINS app data

Hello,

 

I have my ported app installed on 2 Q10s, OS Version 10.1.0.1483 (old) and 10.1.0.1720 (new).

 

  • On both instances the app gets data (from some event happening within the app).
  • I remove the app from both devices (by long holding the icon and tapping the recycling bin - which asks me whether I'm sure I want to delete this app and all its data)
  • I sideload the app again on both devices
  • Old Q10 starts with a fresh installation
  • New Q10 starts with previous data from last instance

 

Obviously this is not the expected behaviour. Any way to fix this from the developer's side?

 

My android target is 17, minimum is 7.

 

Thanks,

Dritan

Retired
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B

Re: Re-installing app RETAINS app data

Hey Dritan,

 

Which data do you see being retained?

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Contributor
Dritanxha
Posts: 22
Registered: ‎02-26-2013
My Device: Z10

Re: Re-installing app RETAINS app data

Thanks for your reply Justin,

 

After user gets some offers in our app, all those offers are retained - which means, small thumbnail, large image, text, links, etc... As far as I know that data is being stored on a file. 

Retired
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B

Re: Re-installing app RETAINS app data

Thanks Dritan,

 

Would you be able to file a Jira for the devs here?

https://www.blackberry.com/jira/secure/Dashboard.jspa

 

A description of the problem and maybe a sample app would be great.

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com