I have previously installed "Push alert" plugins in my site, but it's free account has limitation of 3000 subscribers, after which they dont send notifications to the subscribers, I need to purchase this plugin to send notifications to more than 3000 subscribers. Now I found "Onesignal" which allows to send notifications to 10000 subscribers free. now I want to install it. But my question is can I get data of my previously installed plugin and import those data in my new plugin? Is it possible?
Related
I am developing a script and I need to send a notification to those who have installed my UserScript that I have uploaded a new version.
Does anyone know a way to do this?
I am using #version, #updateURL, and #downloadURL.
I have also checked in the trampermonkey configuration to check for updates.
The setup
I have an iOS app with a basic Branch SDK integration. All it does is:
reports the install event (via initSession() call)
some time later calls setIdentity() method to identify the user with an ID received from backend
Later inside the app the user is offered a subscription with a trial period. The backend receives a notification once the trial is started. I want to report the trial start from my backend to the Branch (server-to-server way) so it is attributed to the Branch channel/campaign and I can see the efficiency of each campaign inside the "Sources" tool in Branch.
To do this I execute the following curl request in accord with the documentation https://github.com/BranchMetrics/branch-deep-linking-public-api#logging-user-lifecycle-events:
curl -vvv -d '{"name": "START_TRIAL","customer_event_alias": "Trial Start","user_data": {"os": "iOS","environment": "FULL_APP","aaid":"93A6BC61-AC2B-4008-9565-4DF2FD2395C9","limit_ad_tracking":false,"developer_identity": "41740","country": "US","language": "en"},"custom_data": {"product_id": "my.product.id"},"metadata": {},"branch_key": "key_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' https://api2.branch.io/v2/event/standard
The received answer is:
{"branch_view_enabled":false}
As seen from the request I pass the IDFA and developer_identity and I expect that it would be enough to attribute START_TRIAL event to the Branch channel/campaign, which brought the user.
The problem
The START_TRIALS and other valuable events are attributed to organic traffic. So for a test campaign I see a click, an install an open but zero trial starts. The trial start is attributed to the organic traffic.
What I've checked
I've checked with Charless SSL that the user ID is sent by Branch SDK to Branch backend (notice same IDFA 93A6BC61-AC2B-4008-9565-4DF2FD2395C9 and user id 41740):
"os": "iOS",
"hardware_id": "93A6BC61-AC2B-4008-9565-4DF2FD2395C9",
"screen_width": 750,
"identity_id": "789438365770392069",
"build": "16G183",
"ios_vendor_id": "A3656BAB-CDF9-4572-B944-80D5B6017376",
"hardware_id_type": "idfa",
"instrumentation": {
"/v1/install-brtt": "406"
},
"environment": "FULL_APP",
"model": "iPhone7,2",
"identity": "41740",
So given all of the data I already pass to Branch, what else should I do to merge events sent server-to-server with user installs reported from the client?
If you are trying to track iOS event I guess you should use user_data.idfa instead of user_data.aaid (Android ID).
From documentation:
user_data.aaid : Android/Google advertising id
user_data.idfa : iOS advertising id
This apps closed but services are running. How can i do this on react-native?
I would like to make services that listen my app notification.
You can use react-native-firebase package for this specific purpose.
Way 1 - Data only notification
Check out the data only notification section documentation here. Please note that this would work only on android.
Way 2 - Notification + Data
Send a notification and when user presses it, update the data of the application. This should work both for android and iOS. You can send key/value pairs in your notification and send a type as one of the key/value pairs. Now, when you handle the notification based on this type you can can API's and update data as required. You can read more about it here
I am kind of new to React, so this might be just lack of experience, but I don't seem to find any answer to my question:
I have a react app, where I need to subscribe to a push notification channel. Messages are delivered through PubNub, and in order to connect I need to supply a subscribe and a publish key to the message server. Now, I know it is not a good practice to store secrets in a react app, and they should be handled through backend services, but do I really need to create a service just to subscribe to the channel and forward the messages to my frontend app? Is this not an overkill?
The messages I am receiving are just time ticks (I need a trusted source of time), but I still don't want my API keys to leak out...
Is there any reasonably ok way for me to avoid standing up an intermediate service?
It is perfectly normal to have your PubNub publish and subscribe keys in client side code. If it is necessary to restrict who has the power to publish and subscribe (read/write) using those keys, the developer can enable PubNub Access Manager (PAM) in the admin panel. There are PAM guides to get you started on controlling access.
Another point to consider is that your JavaScript PubNub connection can also be used as a trusted source of time. The JS SDK time call will get a 17 place precision unix timestamp from a PubNub node:
const pubnub = new PubNub({
publishKey: 'your_free_pubnub_publish_key',
subscribeKey: 'your_free_pubnub_subscribe_key'
});
let pojoDateObject;
pubnub.time().then((timetokenObject) => {
pojoDateObject = new Date(+String(timetokenObject.timetoken).substring(0,13));
});
I've followed the Order Processing tutorial to receive and handle order notifications in my GAE application from Google Checkout.
Everything works OK in the sandbox environment. I can send a fake order and the app gets a notification and handles the order.
When I switch to the production environment and make a real order, I can see the order in the Google Checkout Merchant account but I don't receive any notifications.
To switch to production I simply edit my ApiContext object to use Environment.Production and the real merchant id and key. The Integration settings are the same. I've also tried changing the callback URL to use HTTPS (https://blah.appspot.com/not) but still nothing.
What am I missing?
The "Integration Console" in the Checkout Merchant Center gives you information about the callbacks (XML sent, XML received, HTTP errors, etc.). Hopefully you can figure out the problem from that data. Some related links below:
https://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=72217
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API.html#integration_issues_console
http://code.google.com/apis/checkout/articles/Troubleshoot_Integration_Console_Errors.html