Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent other plugin apps from causing conflicts to our JS libraries in our plugin?

Mathew Lois Cabahug
August 4, 2023

Imagine we have the same JS web resource used with different versions, and they declared in there web resource <context>alt.general</context> which causes my app to stop working and cause so many console errors. 

is there something we can do to prevent this from causing conflicts in the future? 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 5, 2023

Welcome to the Atlassian Community!

The short answer is "you can't".  App vendors can code however they like and if that code breaks someone else's app, there's no way to stop that. 

You either need to stop using their app, or code yours so that there is no conflict.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events