Skip to content

fix for #2460 #2465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2017
Merged

fix for #2460 #2465

merged 1 commit into from
Feb 1, 2017

Conversation

Plamen5kov
Copy link
Contributor

Problem:
See more in this issue.
Because of the way promises are executed, a new project was created twice and was overridden twice with only one framework file being added each time. The proper implementation reads the previously changed .proj file and augments it with the new .framework file.

Fix for: #2460

@Plamen5kov Plamen5kov force-pushed the plamen5kov/add_framework_files_ios branch from d8d9a3c to 4717739 Compare January 31, 2017 13:47
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

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

After handling comment and green build.

@@ -109,8 +109,8 @@ export class PluginsService implements IPluginsService {

let appFolderExists = this.$fs.exists(path.join(platformData.appDestinationDirectoryPath, constants.APP_FOLDER_NAME));
if (appFolderExists) {
this.preparePluginScripts(pluginData, platform);
this.preparePluginNativeCode(pluginData, platform);
await this.preparePluginScripts(pluginData, platform);
Copy link
Contributor

Choose a reason for hiding this comment

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

preparePluginScripts returns void, not Promise, so no need to use await here.

@Plamen5kov Plamen5kov closed this Feb 1, 2017
@Plamen5kov Plamen5kov force-pushed the plamen5kov/add_framework_files_ios branch from 4717739 to d9b710a Compare February 1, 2017 07:22
@Plamen5kov Plamen5kov reopened this Feb 1, 2017
@Plamen5kov Plamen5kov merged commit 68679f2 into master Feb 1, 2017
@Plamen5kov Plamen5kov deleted the plamen5kov/add_framework_files_ios branch February 6, 2017 12:36
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.

2 participants