Skip to content

fix: js clobber only on supported platforms#282

Merged
erisu merged 1 commit into
apache:masterfrom
erisu:fix/js-clobber-only-on-supported-platforms
Jul 7, 2020
Merged

fix: js clobber only on supported platforms#282
erisu merged 1 commit into
apache:masterfrom
erisu:fix/js-clobber-only-on-supported-platforms

Conversation

@erisu

@erisu erisu commented Jul 6, 2020

Copy link
Copy Markdown
Member

Platforms affected

all

Motivation and Context

The shared JS content is being clobbered on all platforms even if the platform is not supported.

iOS is affected by this clobber because it has its own JS file that is clobbered on the same window.navigator scope.

Description

Move the shared JS clobber into each defined platform until a better solution is implemented to be more strict on plugin installs.

Testing

  • plugin install & simulator run
    • With mobile spec
    • Without mobile spec
    • With changes
    • With out changes

Checklist

  • I've run the tests to see all new and existing tests pass

@erisu erisu added this to the 6.0.0 milestone Jul 6, 2020
@erisu
erisu requested review from dpogue and jcesarmobile July 6, 2020 04:23
@erisu
erisu merged commit faa8aa9 into apache:master Jul 7, 2020
@erisu
erisu deleted the fix/js-clobber-only-on-supported-platforms branch July 7, 2020 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants