Comments (10)
I guess, the Firebase Robopod is not deployed to maven repo yet. For now you have to clone robopods github repo and install artifacts locally, like so:
cd robovm-robopods
mvn3 install -pl firebase/ios-messaging -am
Then you have to use version 2.2.2-SNAPSHOT for ios-messaging artifact in you project (instead of 2.2.1).
EDIT: or just try to use 2.2.2-SNAPSHOT right away without cloning the github repo locally (could be it works)
from robovm-robopods.
Will do that, thank you!
from robovm-robopods.
Tried using 2.2.2-SNAPSHOT and it's not working.
from robovm-robopods.
Also setting a UNUserNotificationCenterDelegate for the currrentNotificationCenter yields a runtime error:
"java.lang.ClassCastException: cannot be cast to org.robovm.objc.ObjCObject"
Update:
I've created my own delegate extending NSObject and it works.
from robovm-robopods.
That's right, you have to use NSObject as a base class for delegates. Sometimes (especially in robopods' bindings) there are *DelegateAdapter classes, which are inherited from NSObject for you.
So didn't you able to get rid of the original failure via installing the messaging robopod into the local maven repo (using the solution I had provided originally)?
from robovm-robopods.
No, I've added the files manually to my project. And now I'm fighting the errors as they come.
The current one is a failure to register for remote notifications:
"didFailToRegisterForRemoteNotifications Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo={NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}"
from robovm-robopods.
Managed to make it work. It just needed the entitlements.plist file with the push notifications capability enabled.
from robovm-robopods.
Can this issue be closed now?
from robovm-robopods.
from robovm-robopods.
@piotrros, @Tom-Ski please close
from robovm-robopods.
Related Issues (20)
- Supported ADMOB version is outdated HOT 1
- Failed to reslove firebase messaging dependency version 5.16.0 HOT 1
- broken link HOT 1
- Does not compile with latest SDK on the README.md HOT 1
- nullPointer when initializing viewcontroller for ads HOT 5
- Disable / enable analytics collection HOT 2
- Update Facebook sdk HOT 1
- Firebase Analytics: Undefined symbols for architecture armv7 HOT 3
- Admob Bindings update HOT 1
- AdMob Native ads are not working HOT 4
- Presenting AdMob Interstitial & Reward ads in fullscreen using iOS 13, Xcode 11 HOT 1
- Kochava tracking robopods HOT 1
- Firebase Crashlytics and RoboVM HOT 1
- where can I get the outdated version of the admob lib HOT 1
- IOSLauncher: How to check build config is Development or Distribution provisioning profile. HOT 1
- Users report issues with closing interstitial Ads HOT 4
- Firebase iOS Messaging update HOT 1
- Fix documentation HOT 1
- Problem with google-signin-ios (Deprecated API Usage) HOT 4
- Outdated firebase/ios-analytics install instructions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robovm-robopods.