Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garden path is invalid on iOS #4030

Closed
tito opened this issue Feb 24, 2016 · 1 comment
Closed

Garden path is invalid on iOS #4030

tito opened this issue Feb 24, 2016 · 1 comment
Labels
Platform: IOS Priority: High Should be fixed ASAP Status: Confirmed Confirmed as real issue

Comments

@tito
Copy link
Member

tito commented Feb 24, 2016

The current kivy.garden.garden_app_dir on iOS lead to an invalid path. This prevent to use any app-installed garden.

One way to solve it right now is to add this code prior any import of garden packages:

from kivy.utils import platform
if platform == "ios":
    from os.path import join, dirname
    import kivy.garden
    kivy.garden.garden_app_dir = join(dirname(__file__), "libs", "garden")

Ref: kivy-garden/garden.mapview#7

@matham
Copy link
Member

matham commented Dec 22, 2019

#6658

@matham matham closed this as completed Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: IOS Priority: High Should be fixed ASAP Status: Confirmed Confirmed as real issue
Projects
None yet
Development

No branches or pull requests

2 participants