react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

Is it possible to configure push IOS notifications on Linux (without Xcode)

Open sossnowski opened this issue 4 years ago • 4 comments

Question

Hi, is it possible to implement IOS push notifications (background) working on linux? As it is mentioned in react-native-push-notification-ios manual it is neccessary to use npx pod-install command which return me error CocoaPods is only supported on darwin machines and also in the next steps there is need to use Xcode.

Is there any way to implement IOS push notifications not having Mac?

sossnowski avatar May 13 '21 11:05 sossnowski

Hi @sossnowski Cocoapods only works on MacOS. You can't compile the iOS project on Linux (or maybe with Docker-OSX). So you don't need this step, and you can code in JS the iOS part. Regards

Dallas62 avatar May 13 '21 11:05 Dallas62

So I only should download this package npm i @react-native-community/push-notification-ios and implement handling notifications in JS and do not care about configurating it because RN will do it?

sossnowski avatar May 13 '21 11:05 sossnowski

You can skip the "pod install" step, but configure the AppDelegate if you plan to support iOS in the future.

Dallas62 avatar May 13 '21 14:05 Dallas62

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 14 '22 00:05 github-actions[bot]