We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e343499 commit 0762faaCopy full SHA for 0762faa
examples/RNOneSignal/App.js
@@ -111,6 +111,9 @@ export default class App extends Component {
111
112
oneSignalInAppMessagingExamples() {
113
// Add a single trigger with a value associated with it
114
+ OneSignal.addTrigger('trigger1', 'one');
115
+
116
+ // Get trigger value for the key
117
OneSignal.getTriggerValueForKey('trigger1')
118
.then(response => {
119
console.log('trigger1 value: ' + response);
react-native-onesignal.podspec
@@ -22,5 +22,5 @@ Pod::Spec.new do |s|
22
# pod 'React', :path => '../node_modules/react-native/'
23
24
# The Native OneSignal-iOS-SDK from cocoapods.
25
- s.dependency 'OneSignal', '2.11.2'
+ s.dependency 'OneSignal', '2.12.2'
26
end
0 commit comments