Onesignal-flutter-sdk: Keep OneSignalNotificationServiceExtension version and build up-to-date

Created on 6 Jun 2020  路  3Comments  路  Source: OneSignal/OneSignal-Flutter-SDK

In order to add the App Groups capability for OneSignal on IOS, it's required to create a new target named OneSignalNotificationServiceExtension.

Unlike the Runner target, OneSignalNotificationServiceExtension's version and build are not updated automatically according to the info specified in pubspec.yaml.

How I do I keep them up-to-date automatically as well? I suppose it should somehow be done in the Podfile?

The reason I care about it is because the App Store keeps warning me about it everytime I upload a build, unless I manually keep both targets' version and build in sync.

Question

Most helpful comment

Hey, sorry for the late reply, apparently I missed the notification of your reply.

I did actually add the POD script and followed every step in your docs, yet the version is never up-to-date automatically when I want to build the app, so I have to set it manually.

Is there a specific step in your docs you believe I missed? Could you please refer me to it?

All 3 comments

Howdy,
The NSE should be added via the Podfile as noted by our Flutter Setup Docs. For the pod, note the use of version ranges. Consider adding pod update to your build process.

Hope this helps.

Enjoy!

Hey, sorry for the late reply, apparently I missed the notification of your reply.

I did actually add the POD script and followed every step in your docs, yet the version is never up-to-date automatically when I want to build the app, so I have to set it manually.

Is there a specific step in your docs you believe I missed? Could you please refer me to it?

Hi @royibernthal , did you fixed this?

I'm having the same problem and i also created a issue #303

Was this page helpful?
0 / 5 - 0 ratings

Related issues

royibernthal picture royibernthal  路  8Comments

TobiasHeidingsfeld picture TobiasHeidingsfeld  路  4Comments

newbieflutter picture newbieflutter  路  4Comments

lucasratske picture lucasratske  路  10Comments

getmmg picture getmmg  路  7Comments