question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Populate photos for Android/iOS

See original GitHub issue

To populate photos on iOS:

  1. Delete ~/Library/Application Support/iPhone Simulator/7.1-64/Media/PhotoData
  2. Copy photos to ~/Library/Application Support/iPhone Simulator/7.1-64/Media/DCIM/100APPLE
  3. Start simulator

To send the initial photos to the appium server on iOS, they could be included as a base64 zip in a desired capability.

Edit: To avoid the duplicate photo issue, we may need an upload app for the simulator.

For android, there should be a generic adb push which can be used for photos or any other file type.

/cc @jlipps Does this sound reasonable?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bootstraponlinecommented, Aug 11, 2015

xcrun simctl addphoto is the preferred approach for seeding iOS simulators with photos.

0reactions
lock[bot]commented, Apr 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Different Ways to Upload Images on Mobile (Android, IoS ...
Another way to upload images from Android to a web server is to create a Java class in your Android app for image...
Read more >
PicCollage: Grid & Story Maker - Apps on Google Play
Create & Celebrate! PicCollage helps you make anything to celebrate everything. PicCollage is all about keeping things easy so you can have the...
Read more >
15 Best Slideshow Apps for Android and iPhone in 2022
Slideshow apps let you create spectacular slideshows, complete with fun transitions and beautiful background music, out of all the photos ...
Read more >
Google Photos on the App Store
Google Photos is a smarter home for all your photos and videos, made for the way you take photos today. “The best photo...
Read more >
How to Build a Photo-Sharing App For Android/iOS - Altamira.ai
Thus, essentially, Tinder has access to both your gallery to upload the photos you already have and your camera to make a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found