Coder Social home page Coder Social logo

Comments (10)

okwasniewski avatar okwasniewski commented on May 17, 2024 1

Hey @dutradotdev,

Thanks for your input! I'm not sure if it is possible to show logs for iOS app without opening Xcode. Could you provide some examples of that? I think that adding option to launch logcat is great ๐Ÿ‘๐Ÿป

Also, it would be very useful if you could provide an example of filtering logs (for both platforms).

from minisim.

dutradotdev avatar dutradotdev commented on May 17, 2024 1

you can use this to check iOS device logs

brew install libimobiledevice
idevice_id --list // list available device UDIDs
idevicesyslog -u <device udid>

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024 1

feature request: Wipe data for each android emulator

Hey @ameer-taghavi,

You can achieve this by creating a custom command by going to Preferences > Custom Commands.

Here is the custom command you can paste: $android_home_path/emulator/emulator @$device_name -wipe-data

Screenshot 2023-06-22 at 21 59 15

from minisim.

dutradotdev avatar dutradotdev commented on May 17, 2024

I would like to share some ideas too:

  • Show logs for iOS apps and logcat for android apps (sometimes you just want to check native logs but you don't want to open android studio or xcode)
  • Filter logs for both platforms (it is really bad to filter logs using grep and etc)

from minisim.

phucynwa avatar phucynwa commented on May 17, 2024

could you add supporting scrcpy feature ?

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024

could you add supporting scrcpy feature ?

@phucynwa Thanks for the suggestion but I want to keep MiniSim focused only on emulators. Therefore I won't add it, at least for now.

from minisim.

dutradotdev avatar dutradotdev commented on May 17, 2024

@okwasniewski I don't know how to do this for iOS, for android you need to exec adb logcat and filter by tag (probably using regexes)
Android: https://developer.android.com/studio/command-line/logcat
iOS: https://stackoverflow.com/questions/10165641/how-can-i-get-the-console-logs-from-the-ios-simulator

from minisim.

mrcsxsiq avatar mrcsxsiq commented on May 17, 2024

It would be nice if was possible open the command below in terminal

adb logcat -v color

In this menu:

CleanShot 2023-06-03 at 20 11 40@2x

It could be an option named like Open logcat

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024

Hey @mrcsxsiq, thanks for proposing a new feature!

Starting with version 0.6.0 you can create your own custom commands! You can achieve this by creating a new command and pasting this apple script:

osascript -e 'tell app "Terminal"
    do script "adb logcat -v color"
end tell'
Screenshot 2023-06-04 at 16 27 50

from minisim.

ameer-taghavi avatar ameer-taghavi commented on May 17, 2024

feature request: Wipe data for each android emulator

from minisim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.