I have to make sure, that the app is not sending device token for push notifications, if it build in debug, and send if in release.
Can I use this code?
#if RELEASE
[SendTokenRequest sendDeviceToken:deviceToken withCompletion:nil];
#endif
Obviously it's hard to test, it compiles and not executing in debug, just wan't to make sure it will be executed on production...