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

Write locations to file #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HarelM
Copy link
Contributor

@HarelM HarelM commented Oct 26, 2022

Resolves #80
This is still not complete as I need to support iOS and I'm very new to swift.
Any help there would be greatly appreciated.
Also I'm not sure how to pass the file path there into the location update method so again, help would be appreciated.
I didn't want to add file plugin to the example, but I tested this code to work with my app basically.

Let me know how you want to proceed with this.

@HarelM
Copy link
Contributor Author

HarelM commented Nov 6, 2022

I've also explored the ability to use a rotating log file in order to make sure this doesn't explode in terms of disk space and it works nicely.
I still don't have a solution for iOS though...
Let me which direction seems better to you.

@diachedelic
Copy link
Collaborator

I would leave it to the application to manage the log file, which might include log rotation. It's too much complexity to add to the plugin.

Also I'm not sure how to pass the file path there into the location update method

I'm not sure what you mean by this. What is the problem?

@HarelM
Copy link
Contributor Author

HarelM commented Nov 7, 2022

I'm not sure how to pass the log file path to the relevant method in iOS. Seems weird to me how the flow of data is done in swift (mainly because I don't know swift I guess)...

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.

Missing locations while the app is in the background
2 participants