Skip to content

Xamarin IOS app can't loading GUI/crashing when Service Extension added. #353

@gyb001

Description

@gyb001

How can we help?

Hello.
I have a strange problem.
Push notification working fine for a half year, now i would like add OneSignalNotificationServiceExtension.
I read the tutorial much, check everithing twice.

What happen:
-Build in release mode push testflight
-Click app
-IOS project / AppDelegate started (LOG)
-Shared project / App started (LOG)
-OneSignal.Default.Initialize run whitout exception (LOG)
setAppId(id) called with appId: HideMyOnesignalId
setAppId(id) finished, checking if launchOptions has been set before proceeding
setAppId(id) successful and launchOptions are set, initializing OneSignal

-MainPage setted with my LoadPage (LOG)

What i see:
Iphone 13 testflight: App crasch before "LoadPage" is appearing (I dont have log)
MacMini (M1) testflight: App icon bouncing, show small point under the icon, nothing appear.

Log first page said Entitlements problem, but i think everithing is ok.
App group exist in apple developer portal. i'm able to distribute app to appstore

Any tipp?
Onesignal XamarinSDK 4.3.0
Latest Xamarin, VS / Vs preview.
if i unload the extension project app is runing and can receive push notification
Debug mode is ok, (I cant test psuh, but app is working)

Full log: (started with force kill app)
https://controlc.com/c1c768d2

Some code:
https://pastebin.com/55hbMNa9

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions