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, Android
http://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%[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%[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%[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