@controleonline/ui-common 1.2.106 → 1.2.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@controleonline/ui-common",
3
- "version": "1.2.106",
3
+ "version": "1.2.107",
4
4
  "author": "ControleOnline",
5
5
  "description": "ControleOnline Common Quasar UI Component",
6
6
  "license": "MIT",
@@ -185,7 +185,11 @@ export default function LinkedInIntegrationPage() {
185
185
  );
186
186
  }
187
187
 
188
- await Linking.openURL(authorizationUrl);
188
+ if (Platform.OS === 'web' && typeof window !== 'undefined') {
189
+ window.location.assign(authorizationUrl);
190
+ } else {
191
+ await Linking.openURL(authorizationUrl);
192
+ }
189
193
  } catch (error) {
190
194
  showError(formatApiError(error));
191
195
  } finally {