Frequently Asked Questions on developing for starti.app.
Integrating with the app
Functions doesn’t return the expected result
When you call a function exposed by the app the declaration of the function on this site tells you the function returns a value. But in your code it never returns a value.
You should read the section about return values.
Integrating with React
When your site is built using React it’s not necessarily clear how to call functions exposed from the app and how to expose functions from the React site.
How do I call the app from my site?
How should the app call functions in my site?
If you site is built using React you should expose the functions needed from the app to the global scope.
Integrating with Vue.js
If your site is built using Vue.js you may find help in this answer in the Vue.js forum when you should call the starti.app API. The answer also has a solution of how to expose your functions to the app.
Getting started using the push notification integration
We suggest you start out by reading about integrating your server to FCM.
Afterwards you should be able to read the most important part, which is about sending push notifications. Here you can read about how you send to individual devices and how you send to topics and the page contains examples from the various supported SDK’s and REST examples too.