onesignal

cannot access ActivityCompatApi23 class file for ActivityCompatApi23 not found

∥☆過路亽.° 提交于 2020-01-06 05:11:33
问题 Hi i added one signal libraries in to my project and suddenly when i run the project a lots of error shows up in my code which in top is Error:(66, 8) error: cannot access ActivityCompatApi23 class file for android.support.v4.app.ActivityCompatApi23 not found here is my dependecies compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:support-v4:26.0.0-alpha1' androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android

cannot access ActivityCompatApi23 class file for ActivityCompatApi23 not found

时间秒杀一切 提交于 2020-01-06 05:11:07
问题 Hi i added one signal libraries in to my project and suddenly when i run the project a lots of error shows up in my code which in top is Error:(66, 8) error: cannot access ActivityCompatApi23 class file for android.support.v4.app.ActivityCompatApi23 not found here is my dependecies compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:support-v4:26.0.0-alpha1' androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android

Sending personalized push notifications using onesignal

落爺英雄遲暮 提交于 2020-01-03 02:42:23
问题 We are working on personalizations on each and every aspect of user interaction and want to send personalized push notifications to the users, meaning each user will receive different notification personalized to him. We are currently using Onesignal, So can I use Onesignal to send personalized notification upto over then a million user base ? Or I have to migrate to some other alternatives, if so please suggest some reliable solutions. 回答1: OneSignal can certainly be used to send

Application Not Responding (ANR) Executing service com.onesignal.SyncService

时光总嘲笑我的痴心妄想 提交于 2020-01-01 07:12:05
问题 We are using OneSignal Native SDK version 3.+ in my app and sometime crash the app. Give below onesignal dependencies : compile 'com.onesignal:OneSignal:3.+@aar' Onesignal init method : OneSignal.startInit(this). .inFocusDisplaying(OneSignal.OSInFocusDisplayOption.Notification) .setNotificationOpenedHandler(new MyNotificationOpenedHandler()) .setNotificationReceivedHandler(new MyNotificationReceivedHandler()) .init(); Crash log : "main" prio=5 tid=1 TIMED_WAIT | group="main" sCount=1 dsCount

Push Notifications with Firebase and OneSignal

旧时模样 提交于 2020-01-01 06:37:08
问题 I'm looking for some guidance. I'm using Firebase as the backend server for an app I'm building and I would like to alert users when somebody has either liked or disliked some content the user generated. I understand that Firebase offers cloud messaging through which I can target very specific users and send updates to them; I have implemented that functionality. However, I would like to send updates based on changes in the database, and, as far as I understand, FCM is not built for this

Build Signed APK failed - Can't find common super class of [android/content/Context]

假如想象 提交于 2019-12-31 02:54:10
问题 This is Android Project. Using Normal Build was successfull, but using signed Key i got this error : Execution failed for task ':transformClassesAndResourcesWithProguardForFlavorRelease'. > java.io.IOException: java.lang.IllegalArgumentException: Can't find common super class of [android/content/Context] (with 2 known super classes) and [com/onesignal/ADMMessageHandler] (with 1 known super classes) Any Idea ? Thanks in advance... 回答1: I think Proguard causes this problem. Add this line to

OneSignal @Override not applicable to type

只谈情不闲聊 提交于 2019-12-25 08:26:02
问题 {Novice Android Developer} I am following this tutorial regarding adding OneSignal Push notifications to my application. One thing that I am having difficulty with is the adding of the MainActivity.java code found at the end of the tutorial. I receive multiple errors. I would be much obliged if someone would be able to assist me with this last portion of OneSignal integration. The main issue I am having is the placement of this code in regards to what is already in the MainActivity and what

OneSignal iOS SDK send notification fail Code 400

有些话、适合烂在心里 提交于 2019-12-24 08:01:35
问题 What I have done: I have created a simple iOS native App which has nothing but OneSignal initializaion codes. I installed my App on my 2 devices, device A and device B. Both devices are subscribed to my OneSignal App Console. When I send a notification from OneSignal Web Console, the 2 devices can both recive the notification. What I want to do: When I click on a button on device A, device A will send a notification to device B. What is the problem: I followed the OneSignal iOS SDK document

How to trigger function when date stored in firestore database is todays date?

一个人想着一个人 提交于 2019-12-24 07:49:08
问题 I am creating an app where I need to send push notification when today's date matches with the date stored in database in order to send push notification. How to achieve this? 回答1: Without knowing your data model it is difficult to give a precise answer, but let's imagine, to simplify, that you store in each document a field named notifDate with format DDMMYYY and that those documents are store in a Collection named notificationTriggers . You could write an HTTPS Cloud Function as follows:

Why firebase is needed for android notifications along with third party notifications provider such as OneSignal, Pubnub & pusher?

妖精的绣舞 提交于 2019-12-24 04:07:07
问题 I'm working on react native push notifications. i'm looking for some answers before i make a purchase to any third party notification provider Why do third party notifications providers such as OneSignal, Pusher & PubNub are based on Firebase Cloud Messaging? Can't they send notifications independently without relying on Firebase. why pay more to third party providers when FCM does the work for free? 回答1: Firebase is a Brand of Services First, Firebase is a brand that encompasses more than