Skip to content

feat: implement SetupPreferences to allow usage without Xcode / Android SDK#74

Merged
okwasniewski merged 3 commits intomainfrom
feat/setupPreferences
Oct 16, 2023
Merged

feat: implement SetupPreferences to allow usage without Xcode / Android SDK#74
okwasniewski merged 3 commits intomainfrom
feat/setupPreferences

Conversation

@okwasniewski
Copy link
Owner

This PR addresses this feature request: #71 and makes MiniSim available for both Android and iOS native developers!

CleanShot 2023-10-10 at 12 16 19@2x

Copy link
Contributor

@Garfeild Garfeild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! I hope you don't mind of me chiming in. I was looking for Hacktoberfest projects and stumbled upon this one. Couple of comments regarding these change, I hope useful ones.

var devicesArray: [Device] = []
try devicesArray.append(contentsOf: DeviceService.getAndroidDevices())
try devicesArray.append(contentsOf: DeviceService.getIOSDevices())
if (UserDefaults.standard.enableiOSSimulators) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to use () in if statement.

@okwasniewski
Copy link
Owner Author

okwasniewski commented Oct 15, 2023

@Garfeild

Thanks for chiming in! I always appreciate another pair of eyes looking at a PR 👍🏻 Applied your comments

Copy link
Contributor

@Garfeild Garfeild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now!

@okwasniewski okwasniewski merged commit 92c0a19 into main Oct 16, 2023
@okwasniewski okwasniewski deleted the feat/setupPreferences branch October 16, 2023 07:31
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.

Feature Request: Use it without Android SDK New feature: show / hide platform sections

2 participants