OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
104
stars
50
forks
source link
Fix iOS link error for apps consuming `.nupkg` for 4.0.0 #255
Xamarin has limited support for .xcframework files, they do not have a built in working solution for NuGet packages yet. This works around the issue by including OneSignal.xcframework as-is in the .nupkg. It also includes a .target file which is settings to add the OneSignal.xcframework as a native reference. See the comment in the Com.OneSignal.nuspec file for more details.
The items under <NativeReference> in Com.OneSignal.targets is from OneSignal.iOS.Binding.csproj in this repo.
Description
Xamarin has limited support for
.xcframework
files, they do not have a built in working solution for NuGet packages yet. This works around the issue by includingOneSignal.xcframework
as-is in the.nupkg
. It also includes a.target
file which is settings to add theOneSignal.xcframework
as a native reference. See the comment in theCom.OneSignal.nuspec
file for more details.The items under
<NativeReference>
inCom.OneSignal.targets
is fromOneSignal.iOS.Binding.csproj
in this repo.This was added based on the recommendations from:
This change is![Reviewable](https://reviewable.io/review_button.svg)