Mark you are obviously right, returning always licensed has no sense,
is no useful and doesn't give any help to developers.
I think that this behaviour is just lazyness from the google developer
side.

On Aug 8, 11:40 pm, Mark Carter <[email protected]> wrote:
> I'm wondering if it would be better for all draft (never published)
> apps to follow the rules set up in the Dev Console (rather than just
> returning LICENSED)?
>
> Because:
>
> 1. Its more intuitive to the dev (as can be seen from this thread)
> 2. It gives the dev more control - he can test an app fully (the
> different license scenarios) before publishing. At the moment, I
> regress the version code in my local project just so that I can test
> the different license scenarios. This is a hack IMHO :(
>
> So, testing the licensing aspect of an app would involve saving the
> app as draft and then setting the various licensing states in the dev
> console. At this point, the apk could also be manually distributed to
> beta testers. When all this has been completed, the app would be ready
> for publishing.
>
> On Aug 7, 1:26 am, Trevor Johns <[email protected]> wrote:
>
> > If an app is not published AND not draft, then you'll get
> > ERROR_NOT_MARKET_MANAGED.
>
> > If an app is in draft (never published), then we send LICENSED for all
> > requests for that app.
>
> > If an app is published (or has been published then unpublished), then
> > the response
> > is driven by the dev console settings for the developer/testers, and purely
> > by purchase history for everyone else.
>
> > --
> > Trevor Johns
> > Google Developer Programs, Androidhttp://developer.android.com
>
> > On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <[email protected]> wrote:
> > > So to confirm. If an app is not published (nor draft) then the response is
> > > dictated by the user's (i.e. the user running the app, not the one who
> > > developed the app) setting in the Dev Console. If the user does not have a
> > > Dev account (like many beta testers) then the response will be like 
> > > "Respond
> > > normally"?
>
> > > If the app is published (or draft) then the response is driven primarily 
> > > by
> > > the dev's console settings and secondarily by the Market license server
> > > (storing who has paid for what).
>
> > >  I think the first part could catch a lot of people out...
>
> > > On 5 August 2010 11:03, Trevor Johns <[email protected]> wrote:
>
> > >> If the app isn't in Android Market, the license server will return
> > >> ERROR_NOT_MARKET_MANAGED. LicenseValidator considers that to be a fatal
> > >> error due to programmer error, and should invoke the applicationError()
> > >> callback method.
>
> > >> My understanding from the server team is that uploading a draft version 
> > >> is
> > >> supposed to be sufficient to avoid getting ERROR_NOT_MARKET_MANAGED. (In 
> > >> the
> > >> case of existing applications, you'll also need to increment your version
> > >> code.)
>
> > >> The other way you'll avoid this is precisely as Mark mentioned. If we
> > >> don't find the application, we check to see if the current user has a
> > >> developer account, and will send a test response (if one is set) using 
> > >> the
> > >> user's RSA keypair.
>
> > >> --
> > >> Trevor Johns
>
> > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <[email protected]> wrote:
>
> > >>> Trevor,
>
> > >>> Can you clarify what the licensing server returns if the App is not in
> > >>> the Android Market? In my experience (and it seems other people) it is
> > >>> returning LICENSED. This does not seem sensible to me.
>
> > >>> Thanks
>
> > >>> Rob
>
> > >>> On Aug 4, 3:23 am, Trevor Johns <[email protected]> wrote:
>
> > >>> --
> > >>> You received this message because you are subscribed to the Google
> > >>> Groups "Android Developers" group.
> > >>> To post to this group, send email to [email protected]
> > >>> To unsubscribe from this group, send email to
> > >>> [email protected]<android-developers%2Bunsubs
> > >>>  [email protected]>
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/android-developers?hl=en
>
> > >>  --
> > >> You received this message because you are subscribed to the Google
> > >> Groups "Android Developers" group.
> > >> To post to this group, send email to [email protected]
> > >> To unsubscribe from this group, send email to
> > >> [email protected]<android-developers%2Bunsubs
> > >>  [email protected]>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-developers?hl=en
>
> > >  --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<android-developers%2Bunsubs
> > >  [email protected]>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to