Message from discussion
LVL returns LICENSED with anonymous accounts...
Received: by 10.101.18.1 with SMTP id v1mr322836ani.50.1282900930525;
Fri, 27 Aug 2010 02:22:10 -0700 (PDT)
X-BeenThere: android-developers@googlegroups.com
Received: by 10.101.185.34 with SMTP id m34ls1027252anp.7.p; Fri, 27 Aug 2010
02:21:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.124.9 with SMTP id b9mr23966ann.66.1282900895748; Fri, 27
Aug 2010 02:21:35 -0700 (PDT)
Received: by i4g2000prf.googlegroups.com with HTTP; Fri, 27 Aug 2010 02:21:35
-0700 (PDT)
Date: Fri, 27 Aug 2010 02:21:35 -0700 (PDT)
In-Reply-To: <d5cbe704-ed84-4766-b7cb-ea9b998d9c01@s9g2000yqd.googlegroups.com>
X-IP: 109.70.140.159
References: <dc97e2c9-fe7f-4088-8254-4e5054e62749@u38g2000prh.googlegroups.com>
<b931da24-10c2-467b-86f9-a44f2d117806@x18g2000pro.googlegroups.com>
<AANLkTi=gNd2O_V3hyNa15frYE=B0G6Gd6sCNyojTFXJL@mail.gmail.com>
<7ad8146a-2fc8-48fe-9e81-d3a3e192b773@q16g2000prf.googlegroups.com>
<AANLkTimz7TJiK_1wqkwaVx7HrVsiu9q0a5dU_EP6xATf@mail.gmail.com>
<2a54dd86-052d-44c6-98ea-a1ef5aef1029@14g2000yqa.googlegroups.com>
<AANLkTi=4BsgZXmOKvjtuqUtdmSe=62aVuprojJZ3SOyp@mail.gmail.com>
<AANLkTikm9h8VcGD30argD-pKQNrGhVAzQq+ZFi2AbaPU@mail.gmail.com>
<AANLkTik9quRZXvdwzrDt8qZpkpQuFmXFyYEcf70+q3ME@mail.gmail.com> <d5cbe704-ed84-4766-b7cb-ea9b998d9c01@s9g2000yqd.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4,gzip(gfe)
Message-ID: <3908a584-2f7d-4b27-81f8-8eb820a27e35@i4g2000prf.googlegroups.com>
Subject: Re: LVL returns LICENSED with anonymous accounts...
From: Mark Carter <mjc1...@googlemail.com>
To: Android Developers <android-developers@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Can anyone else confirm this please?
On Aug 20, 11:27=A0am, Mark Carter <mjc1...@googlemail.com> wrote:
> This is not what I'm seeing.
>
> I'm writing a new app which has never been published or in draft.
>
> I have two devices. One (N1, running 2.2), I'm logged into my main
> Google account (which has the Developer account). The other (Hero
> running 2.1-update1) is a test account I use (no developer account).
>
> When I use the N1, I always get the response specifed in my Dev
> Console settings.
> When I use the Hero, I always get ERROR_NOT_MARKET_MANAGED.
>
> It appears the logic goes something like this for non-Market
> (published or draft) apps:
>
> Check the user has a Dev account.
> If so, use the response set there.
> If not, return ERROR_NOT_MARKET_MANAGED.
>
> Notice, its the setting for the user, not the dev (because theMarket
> does not know who the dev is), that is used.
>
> Anyone confirm this?
>
> On Aug 7, 1:26=A0am, Trevor Johns <tjo...@google.com> 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 sendLICENSEDfor 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 pu=
rely
> > 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 <mjc1...@googlemail.com> wr=
ote:
> > > So to confirm. If an app is not published (nor draft) then the respon=
se is
> > > dictated by the user's (i.e. the user running the app, not the one wh=
o
> > > developed the app) setting in the Dev Console. If the user does not h=
ave 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 primar=
ily by
> > > the dev's console settings and secondarily by theMarketlicense server
> > > (storing who has paid for what).
>
> > > =A0I think the first part could catch a lot of people out...
>
> > > On 5 August 2010 11:03, Trevor Johns <tjo...@google.com> wrote:
>
> > >> If the app isn't in AndroidMarket, the license server will return
> > >> ERROR_NOT_MARKET_MANAGED. LicenseValidator considers that to be a fa=
tal
> > >> error due to programmer error, and should invoke the applicationErro=
r()
> > >> callback method.
>
> > >> My understanding from the server team is that uploading a draft vers=
ion 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 ve=
rsion
> > >> code.)
>
> > >> The other way you'll avoid this is precisely as Mark mentioned. If w=
e
> > >> 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) usi=
ng the
> > >> user's RSA keypair.
>
> > >> --
> > >> Trevor Johns
>
> > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wro=
te:
>
> > >>> Trevor,
>
> > >>> Can you clarify what the licensing server returns if the App is not=
in
> > >>> the AndroidMarket? In my experience (and it seems other people) it =
is
> > >>> returningLICENSED. This does not seem sensible to me.
>
> > >>> Thanks
>
> > >>> Rob
>
> > >>> On Aug 4, 3:23 am, Trevor Johns <tjo...@google.com> wrote:
>
> > >>> --
> > >>> You received this message because you are subscribed to the Google
> > >>> Groups "Android Developers" group.
> > >>> To post to this group, send email to android-developers@googlegroup=
s.com
> > >>> To unsubscribe from this group, send email to
> > >>> android-developers+unsubscribe@googlegroups.com<android-developers%=
2Bunsubs cribe@googlegroups.com>
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/android-developers?hl=3Den
>
> > >> =A0--
> > >> You received this message because you are subscribed to the Google
> > >> Groups "Android Developers" group.
> > >> To post to this group, send email to android-developers@googlegroups=
.com
> > >> To unsubscribe from this group, send email to
> > >> android-developers+unsubscribe@googlegroups.com<android-developers%2=
Bunsubs cribe@googlegroups.com>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-developers?hl=3Den
>
> > > =A0--
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.=
com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscribe@googlegroups.com<android-developers%2B=
unsubs cribe@googlegroups.com>
> > > For more options, visit this group at