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

Attachments not working. #25

Open
halaharr opened this issue Sep 26, 2017 · 5 comments
Open

Attachments not working. #25

halaharr opened this issue Sep 26, 2017 · 5 comments

Comments

@halaharr
Copy link

Hi,
Looks like when we have the attachments it fails with the following message (undefined is not a object (evaluating 'path.indexOf'). After researching I found that the code uses 'for in' loop which loops through properties. Changing the loop to 'for(var a = 0; a < arg.attachments; a++) might work better.

Thanks

@EddyVerbruggen
Copy link
Owner

Hmm, do you pass in an Array? Please share the code that uses this plugin. Also: iOS, Android, or both?

@halaharr
Copy link
Author

halaharr commented Sep 26, 2017 via email

@halaharr
Copy link
Author

halaharr commented Sep 26, 2017 via email

@EddyVerbruggen
Copy link
Owner

Thanks for those details. If you're sure changing the loop syntax in both platforms suffices then please consider doing a PR 😁

@halaharr
Copy link
Author

halaharr commented Sep 26, 2017 via email

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

No branches or pull requests

2 participants