<?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 You need to use a Cordova in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079184#M60929</link>
    <description>&lt;P&gt;You need to use a Cordova plugin. This one might help &amp;gt; &lt;A href="https://www.npmjs.com/package/cordova-plugin-firebase" target="_blank"&gt;https://www.npmjs.com/package/cordova-plugin-firebase&lt;/A&gt; &amp;lt; unfortunately, that plugin &lt;A href="https://github.com/arnesson/cordova-plugin-firebase/blob/master/src/android/build.gradle" target="_blank"&gt;uses a gradle script&lt;/A&gt;, which means you cannot use our build system with that plugin. You may have to find another notification plugin, there are many out there; some of them will work with our build system, see these FAQs for additional details:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/faqs/cordova#gradle-build-error" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/cordova#gradle-build-error&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/faqs/cordova#push-plugin-fix" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/cordova#push-plugin-fix&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 08 Nov 2016 19:27:02 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2016-11-08T19:27:02Z</dc:date>
    <item>
      <title>Conneting Intel XDK to Firebase Notifications</title>
      <link>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079183#M60928</link>
      <description>&lt;P&gt;I have successfully been able to add an App onto the Android Store.&lt;/P&gt;

&lt;P&gt;But I am now trying to get notifications on the app.&lt;/P&gt;

&lt;P&gt;So far I've only been able to see Firebase which allows you to easily add notifications.&lt;/P&gt;

&lt;P&gt;However, I need to add Firebase to my app but on the website&lt;/P&gt;

&lt;P&gt;&lt;A href="https://firebase.google.com/docs/android/setup" target="_blank"&gt;https://firebase.google.com/docs/android/setup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It only allows this through Android Studio. Is there any way around this in Intel XDK?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Edit: If its possible please list the example of the code used.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 11:05:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079183#M60928</guid>
      <dc:creator>Remi_I_</dc:creator>
      <dc:date>2016-11-08T11:05:42Z</dc:date>
    </item>
    <item>
      <title>You need to use a Cordova</title>
      <link>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079184#M60929</link>
      <description>&lt;P&gt;You need to use a Cordova plugin. This one might help &amp;gt; &lt;A href="https://www.npmjs.com/package/cordova-plugin-firebase" target="_blank"&gt;https://www.npmjs.com/package/cordova-plugin-firebase&lt;/A&gt; &amp;lt; unfortunately, that plugin &lt;A href="https://github.com/arnesson/cordova-plugin-firebase/blob/master/src/android/build.gradle" target="_blank"&gt;uses a gradle script&lt;/A&gt;, which means you cannot use our build system with that plugin. You may have to find another notification plugin, there are many out there; some of them will work with our build system, see these FAQs for additional details:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/faqs/cordova#gradle-build-error" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/cordova#gradle-build-error&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/faqs/cordova#push-plugin-fix" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/cordova#push-plugin-fix&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 08 Nov 2016 19:27:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079184#M60929</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-11-08T19:27:02Z</dc:date>
    </item>
    <item>
      <title>Hi i have the same problem. i</title>
      <link>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079185#M60930</link>
      <description>&lt;P&gt;Hi i have the same problem. i dont know if you find a solution. i was looking for &lt;A href="https://community.intel.com/www.onesignal.com" target="_blank"&gt;www.onesignal.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;give you intruccion and tutorials to do the notifications using One Signal and conect to firebase.&lt;/P&gt;

&lt;P&gt;But im Stuck in the Script i have tu put on mi APP (APK).&lt;/P&gt;

&lt;P&gt;Couse the APK does not conecct with Onesignal.&lt;/P&gt;

&lt;P&gt;Should by simple, but cant make it work.&lt;/P&gt;

&lt;PRE class="brush:;"&gt;// Add to index.js or the first page that loads with your app.
// For Intel XDK and please add this to your app.js.

document.addEventListener('deviceready', function () {
  // Enable to debug issues.
  // window.plugins.OneSignal.setLogLevel({logLevel: 4, visualLevel: 4});
  
  var notificationOpenedCallback = function(jsonData) {
    //console.log('notificationOpenedCallback: ' + JSON.stringify(jsonData));
	alert("La Notificacion fue Recivida");
  };

  window.plugins.OneSignal.init("ONESIGNAL_ID_APP",)
                                    {googleProjectNumber:"NUMBER_ID_FIREBASE"},
	notificationOpenedCallback);
  //window.plugins.OneSignal
   // .startInit("67c4fa25-20f0-4b00-b6ad-2192cc825113")
   // .handleNotificationOpened(notificationOpenedCallback)
   // .endInit();
	
	window.plugins.OneSignal.setSubscription(true);
	window.plugins.OneSignal.enableNotificationWhenActive(true);
	
  // Sync hashed email if you have a login system or collect it.
  //   Will be used to reach the user at the most optimal time of day.
  // window.plugins.OneSignal.syncHashedEmail(userEmail);
}, false);
&lt;/PRE&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 02:10:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079185#M60930</guid>
      <dc:creator>Pablo_O_</dc:creator>
      <dc:date>2017-01-07T02:10:49Z</dc:date>
    </item>
    <item>
      <title>HAVE A LOOK HERE.</title>
      <link>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079186#M60931</link>
      <description>&lt;P&gt;HAVE A LOOK HERE.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://documentation.onesignal.com/docs/intel-xdk-setup" target="_blank"&gt;https://documentation.onesignal.com/docs/intel-xdk-setup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 02:12:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Conneting-Intel-XDK-to-Firebase-Notifications/m-p/1079186#M60931</guid>
      <dc:creator>Pablo_O_</dc:creator>
      <dc:date>2017-01-07T02:12:16Z</dc:date>
    </item>
  </channel>
</rss>

