(activityType: string, token: string)
| 203 | * @param token: The activity type's pushToStart token. |
| 204 | */ |
| 205 | export function setPushToStartToken(activityType: string, token: string) { |
| 206 | if (!isNativeModuleLoaded(RNOneSignal)) return; |
| 207 | |
| 208 | if (Platform.OS === 'ios') { |
| 209 | RNOneSignal.setPushToStartToken(activityType, token); |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * Indicate this device is no longer capable of receiving pushToStart live activities |
nothing calls this directly
no test coverage detected