I am using OneSignal.com platform for sending pushes. I want to register/subscribe the app users to categories like weather, sport, technology... There is a method in Firebase SDK:
Messaging.messaging().subscribe(toTopic: "weather") { error in
print("Subscribed to weather topic")
}
But I couldn't find the method in OneSignal. How can I subscribe users to categories? (It can be more than one)