Skip to content

Fix getFolderPath of HookOpenFL for mobile build#42

Open
andiccml wants to merge 1 commit intolarsiusprime:masterfrom
andiccml:master
Open

Fix getFolderPath of HookOpenFL for mobile build#42
andiccml wants to merge 1 commit intolarsiusprime:masterfrom
andiccml:master

Conversation

@andiccml
Copy link
Copy Markdown

Function getFolderPath have some wrong function signatures in mobile branch.

When building from master (Haxe 3.4.7 / OpenFL 8.6.4 / Lime 7.1.1 / Windows 10) for android, it gives me the following error:

2018-10-29

I fixed it using the other case in the same line then it gives me the following:

2018-10-29 1

The changes in this PR fixes these issues and the build goes fine!

@larsiusprime
Copy link
Copy Markdown
Owner

Since you're using the #mobile pathway, have you tested it for iOS as well as android?

@andiccml
Copy link
Copy Markdown
Author

No, I didn't. Sorry. I'm able to run test ios on Windows successfully (it generates the xcodeproj files), but since I don't have a Mac, I'm not able to complete the build process.

Since this is a compile time error, I believe the fix should work for iOS too (or, in another way, the error without the fix should occur for iOS too).

@larsiusprime
Copy link
Copy Markdown
Owner

No problem, I'll probably merge this tomorrow then. (I'm not easily able to test on iOS either). If it's broken on iOS, presumably someone will tell us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants