DroidScript / Docs

DroidScript Documentation
Apache License 2.0
81 stars 29 forks source link

IsNewVersion Python example #227

Open Al4He6 opened 1 month ago

Al4He6 commented 1 month ago

https://github.com/DroidScript/Docs/blob/63145db940b0ace9ef88855f7e3a4ec9c6c4576c/files/markup/en/app/IsNewVersion.js#L31

import is in markup but not in IDE Copied, added import, runs OK

from native import app

def OnStart(): newVersion = app.IsNewVersion() app.Alert( newVersion, "Is new version:" )