Licensing Chrome Web Apps -


i have written chrome packaged app , ready publish chrome web store.

i wish offer featured free trial period (eg 14 days) before requiring user buy license. have read this article concerning how receive current license state , using example code github have got license status work.

however, how "set" license? example code returns "none" in response. how activate free trial programmatically or update value when customer purchases license?

the licenses set automatically web store. when user chooses "free trial" install app, access level set "free_trial". paid version of app, access level set "full". if have followed instructions in article properly, app able query licenses web store.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -