Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread 1: EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=12 MB, unused=0x0) #122

Closed
saitbnzl opened this issue Aug 8, 2019 · 2 comments
Closed
Labels
Help Wanted Extra attention is needed

Comments

@saitbnzl
Copy link

saitbnzl commented Aug 8, 2019

Description:
I can get notifications with onesignal_flutter 2.0.1. But I can't get rich notifications, most probably due to this error occuring in OneSignalNotificationServiceExtension.

Screen Shot 2019-08-09 at 11 50 05

Environment
onesignal_flutter 2.0.1
flutter v1.7.8+4
Deployment target 10.2
Tested on iPhone 7 (IOS 12.4)

Steps to Reproduce Issue:
I'm not sure if you can reproduce it. But I've created my flutter project with swift language (-i swift). It adds use_frameworks for Runner target. Because of this, I had to add use_frameworks! to OneSignalNotificationServiceExtension(#53). Whether I create the extension with Swift or Objective-C I get this error while debugging the extension.

Anyone else having this? Any suggestions?

Thanks.

@rgomezp rgomezp added the Help Wanted Extra attention is needed label Aug 12, 2019
@rgomezp
Copy link
Contributor

rgomezp commented Aug 13, 2019

You could reach out to our support channel at onesignal.com and send us your project so we can try to reproduce on our end

@saitbnzl
Copy link
Author

I've finally got it working, but in a different way. Mine is a huge project with multiple schemes also heavily Swift dependent. So I was suffering from many issues with CocoaPods. Now I've integrated OneSignalNotificationServiceExtension without CocoaPods as described here. Everything works now. So, I think this is an option, if you are suffering from CocoaPods like me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants