<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mashup in React Native - error in requirejs in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010433#M17664</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;Yes, I am currently injecting the require.js script on my app.&lt;/P&gt;
&lt;P&gt;I have created before an Angular mashup and my code works well on there, but the same doesn't happen with this new app in React Native for mobile. We are trying&amp;nbsp;to create a mobile app but we are struggling to surpass this issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if exists any documentation about mashups in mobiles?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 14:31:05 GMT</pubDate>
    <dc:creator>SVAS</dc:creator>
    <dc:date>2022-11-29T14:31:05Z</dc:date>
    <item>
      <title>Mashup in React Native - error in requirejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010383#M17658</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;
&lt;P&gt;I created a react native app to test if it is possible to create a mashup in a mobile but I'm having troubles in loading the require.js file.&lt;/P&gt;
&lt;P&gt;I'm getting the following error:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt; ERROR TypeError: Cannot read property 'documentMode' of undefined, js engine: hermes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;This is an example of what I currently have:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const config = {
  host: "myHost.com", 
  prefix: "/",
  port: 443,
  isSecure: true,
  virtualProxy: "myVirtualProxy",
};

const baseUrl = `https://${config.host}:${config.port}/${config.virtualProxy}/resources`;

require.config({
  baseUrl: baseUrl
});

require(["js/qlik"], (qlik) =&amp;gt; {
  qlik.on("error", (error) =&amp;gt; console.error(error));
});
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Is this correct or should I be doing it differently to&amp;nbsp;surpass the issue?&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 13:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010383#M17658</guid>
      <dc:creator>SVAS</dc:creator>
      <dc:date>2022-11-29T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in React Native - error in requirejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010398#M17661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/208812"&gt;@SVAS&lt;/a&gt;&amp;nbsp;it doesn't lool like an error from require.js. Please check:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Did you inject require.js script in your app (from html or from JS)?&lt;/LI&gt;&lt;LI&gt;Did you check if require.js is correctly loaded in developer tool network tab?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For a quick test, if you are using Qlik Sense enterprise, go to dev-hub and create a sample mashup, then you can inspect the code for checking if everything is setup correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 13:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010398#M17661</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2022-11-29T13:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in React Native - error in requirejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010433#M17664</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;Yes, I am currently injecting the require.js script on my app.&lt;/P&gt;
&lt;P&gt;I have created before an Angular mashup and my code works well on there, but the same doesn't happen with this new app in React Native for mobile. We are trying&amp;nbsp;to create a mobile app but we are struggling to surpass this issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if exists any documentation about mashups in mobiles?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010433#M17664</guid>
      <dc:creator>SVAS</dc:creator>
      <dc:date>2022-11-29T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in React Native - error in requirejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010442#M17667</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/208812"&gt;@SVAS&lt;/a&gt;&amp;nbsp;there is no docs on mashup for mobile, mashup is a mashup, it's up to developers to make it responsive for mobile.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010442#M17667</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2022-11-29T14:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in React Native - error in requirejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010482#M17670</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;&amp;nbsp;I understand what you are saying but I'm not sure if you understood my question. I'm not trying to build a mashup that needs to be responsive in the browser or in a mobile. what i'm trying to do is to build a mobile App, like Whatsapp, using React Native and integrate with qlik like we do in a mashup.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 15:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010482#M17670</guid>
      <dc:creator>SVAS</dc:creator>
      <dc:date>2022-11-29T15:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in React Native - error in requirejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010508#M17671</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/208812"&gt;@SVAS&lt;/a&gt;&amp;nbsp;very sorry, I read React so my mind go straight to React JS. About React native, I don't know about any docs on this. What I can suggest is to check all the below steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check if require.js is injected properly&lt;/LI&gt;&lt;LI&gt;Check if websocket connection is established between your app and Qlik engine&lt;/LI&gt;&lt;LI&gt;Check if you are correctly authenticated looking at websocket messages&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Capability APIs and require.js use AngularJS, can React Native run this?&lt;/P&gt;&lt;P&gt;I suggest to try to use &lt;A href="https://qlik.dev/libraries-and-tools/nebulajs" target="_self"&gt;nebula.js&lt;/A&gt; instead.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 15:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-React-Native-error-in-requirejs/m-p/2010508#M17671</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2022-11-29T15:49:10Z</dc:date>
    </item>
  </channel>
</rss>

