Skip to content

Commit 6d97a5f

Browse files
committed
fix: properly resolve bundle id
1 parent 5bb91f9 commit 6d97a5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/project-data.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ export class ProjectData implements IProjectData {
288288
config: INsConfig
289289
): Mobile.IProjectIdentifier {
290290
const identifier: Mobile.IProjectIdentifier = {
291-
ios: "",
292-
android: "",
291+
ios: config.id,
292+
android: config.id,
293293
};
294-
if (config.ios) {
295-
identifier.ios = config.ios.id || config.id;
294+
if (config.ios && config.ios.id) {
295+
identifier.ios = config.ios.id;
296296
}
297-
if (config.android) {
298-
identifier.android = config.android.id || config.id;
297+
if (config.android && config.android.id) {
298+
identifier.android = config.android.id;
299299
}
300300

301301
return identifier;

0 commit comments

Comments
 (0)