Skip to main content
Participant
May 30, 2016
Answered

Adobe air. how to check users reviewed apps or not and how many times users used apps.

  • May 30, 2016
  • 2 replies
  • 541 views

Hi,

I wanna check whether users reviewed my apps or not and how many times users opened my apps.

I checked some sites. but I couldn't find any.

Thank you.

This topic has been closed for replies.
Correct answer Colin Holgate

You can use sharedobject to store a number for each time the user opens the app, and whether they had touched your "review" button. You cannot be sure that they did go on to write a review, but at least you know they went to the review page.

Here's the documentation on sharedobject:

SharedObject - Adobe ActionScript® 3 (AS3 ) API Reference

2 replies

Inspiring
May 30, 2016

But you can't use Shared Object if the users available device storage dips below 900MB .. as Adobe has not fixed this issue for over 2 years.  So SharedObject method is not reliable.

Bug#3711301 - sharedobjects fail when available storage is low

Colin Holgate
Inspiring
May 30, 2016

This is true. My strategy in those cases is to unlock any locked content, and treat the user as if they had done a review already. You can use a try/catch way to trap the error that sharedobject give. Something like this:

var visitsSO:SharedObject = SharedObject.getLocal("uservisits");

  visitsSO.data.visits = "";

  try {

  visitsSO.flush();

  } catch (e:Error){

  trace("low storage error, unlock features");

  }

Inspiring
May 31, 2016

I think this is a much bigger issue... both a problem with AIR ... but also with iOS related to iCloud Photos and incorrect reporting of free space remaining.

The devices I dont have this problem with don't have iCloud Photos turned on with the automatic freeing up of space when device storage gets low.

Other devices with this turned on have this issue...  

The remaining space that shows in iOS is complete bogus. My 6S Plus says 100 MB remaining .. yet it let me record a 14 minute video at 4K ..  when I deleted over 7,000 images and video totally over 80GB of storage it took 2 hours until it actually showed that space being freed up.

Colin Holgate
Colin HolgateCorrect answer
Inspiring
May 30, 2016

You can use sharedobject to store a number for each time the user opens the app, and whether they had touched your "review" button. You cannot be sure that they did go on to write a review, but at least you know they went to the review page.

Here's the documentation on sharedobject:

SharedObject - Adobe ActionScript® 3 (AS3 ) API Reference

Participant
May 30, 2016

Thank you again for your quick reply and the link.

I haven't tried yet. But I think I can do what I want thanks to your reply.