We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0a444 commit 68cf0eeCopy full SHA for 68cf0ee
.changeset/giant-items-sniff.md
@@ -0,0 +1,5 @@
1
+---
2
+'@rnef/create-app': patch
3
4
+
5
+Set Android and iOS as default selected platform
packages/create-app/src/lib/utils/prompts.ts
@@ -98,8 +98,13 @@ export function promptPlatforms(
98
throw new RnefError('No platforms found');
99
}
100
101
+ const defaultPlatforms = platforms.filter(
102
+ (platform) => platform.name === 'android' || platform.name === 'ios'
103
+ );
104
105
return promptMultiselect({
106
message: 'Select platforms:',
107
+ initialValues: defaultPlatforms,
108
// @ts-expect-error todo
109
options: platforms.map((platform) => ({
110
value: platform,
0 commit comments