Module for OneSignal for Appcelerator - module

Recently I found OneSignal platform we can send push notifications for free, their service is really complete. I'm trying to implement it on Appcelerator but I can't find any module for Appcelerator.
Did anyone already use their services on Appcelerator? How can I create a module for OneSignal for appcelerator I am a newbie with all of this :/

You can find guides on Appcelerator module development here:
Android_Module_Development_Guide
iOS_Module_Development_Guide

Related

How to connect Stripe terminal bluetooth reader to Android app using Appcelerator Titanium

Is there anyone using Stripe Terminal Bluetooth readers. if Yes please help me for implementing this with Titanium app.
As I am new to Appcelerator Titanium i don't have idea so it will be great if i got steps
Stripe has a custom SDK to do that: https://github.com/stripe/stripe-terminal-android
So you would need to create a module and implement that SDK. A documentation for the Stripe SDK is available at https://stripe.com/docs/terminal/payments/connect-reader and a basic tutorial for Titanium Android module can be found at from zero to app and in the official documentation

Titanium Module (is there any module or support of App dynamics for titanium appcelrator)

We have Some question Related about app dynamics module in Appcelerator.
How to use the iOS libraries in the appcelerator module which supports the framework of appdynmics. Is it possible to add a iOS native library in appcelerator titanium ?
Is there any support for appdynmics in appcelerator Titanium ?
Is there any module for the appdynmics in appcelerator?
1.: Yes, you can extend Titanium by creating modules or using Hyperloop. The best option currently is to create a module. Some documentation is available at:
* https://devblog.axway.com/mobile-apps/write-titanium-ios-native-modules-swift/
* https://wiki.appcelerator.org/display/guides2/iOS+Module+Development+Guide
the 2nd link also has an Android section if you are interested in that too.
Appdynamics SDK documentation can be found here: https://docs.appdynamics.com/display/PRO45/Instrument+iOS+Applications
2. / 3. No (at least not on github). There is a page at http://gitt.io/search?q=appdynamics where you can search for modules on github
So you can either create one yourself or make a offer in the Ti-Slack Job section (ti-slack.slack.com/). Perhaps you'll find someone who will create one for you.

How to integrate FCM (firebase cloud messaging) with react-native

I am working on a react-native app and I am required to integrate FCM push notification service, so how can I integrate it?
Use this module
https://github.com/evollu/react-native-fcm
Install
npm i -S react-native-fcm
Link the library to your iOS/Android project
react-native link react-native-fcm
Check the configuration and usage details in the README
I came across the same issue and I find out there were 2 ways
react-native-fcm: Simple and Easy to use.
Create my own module! why reinvent the wheel right? but react-native-fcm has 79+ open issues and hasn't been updated since past 1-month while Firebase is changing very rapidly.
So decide to create my own module and handle it my own way.If you are planning to make your own module then I have shared my code on this Git Repo: https://github.com/hiteshsahu/react-native-fcm-android.
Hope it helps.

ReferenceError: cordova is not defined in MobileFirst

I am developing Chat application push notification using PubNub. I used pushnotification.js file in my Mobilefirst project as per the direction from
https://www.pubnub.com/blog/2014-12-18-sending-android-push-notifications-via-gcm-javascript-using-phonegap/
But i am getting the "ReferenceError: cordova is not defined" . How can i solve this issue in my MobileFirst Project?
Please suggest
You are not explaining at all(!) the steps you have taken in order to set this up. I am not sure what kind of support you're actually looking for with such a question.
What I Can recommend you to do is to NOT use a Hybrid app for this. Instead, assuming you're using MobileFirst Platform Foundation 7.1, you can use the "pure" Cordova application type (instead of "hybrid" from MobileFirst Studio). With this application type you will be able to more easily follow the instructions provided in that page.
This is because plug-man is not supported by Hybrid apps to install Cordova plug-ins, making it very difficult to get things working.
So go ahead and follow this tutorial first: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/hello-world/integrating-mfpf-sdk-in-cordova-applications/

Cordova Plugin to be used in Worklight, for geofencing in Background even if the app is suspended/terminated and also when the phone restarts

I have been investigating in this feature for a long time. All I can find is a pure iOS native code that checks for the key "UIApplicationLaunchOptionsLocationKey" from the LaunchOptions, if it is found it calls the LocationManager to start it and keep on listening to the location updates.
You can find this code in this github:
https://github.com/voyage11/GettingLocationWhenSuspended
I need the same concept, but with a way to integrate it in Worklight, through cordova plugin or something. As I'm already creating the geofencing triggers using the hybrid Worklight APIs, I need to keep the geofencing alive even when the app is suspended/terminated and also if the phone is restarted.
Please I need you support urgently. Thanks
Worklight provides the ability to create Cordova plug-ins.
You could implementing your own native code then, mimicking that from the Xcode project you've found on GitHub.
Read more here: Adding native functionality to hybrid applications