I have a couple iPhone apps talking to one ruby on rails server. I have been using the apn_on_rails gem by mark bates/PRX (http://github.com/PRX/apn_on_rails) to offer push notifications to both apps.
The README specifies how to support one app, but I need to support two apps. Not only that, but I would like to send out these notifications in batches using the included rake task, as recommended in the README.
Any help would be most appreciated!
The new gem by prx now supports multiple apps.
https://github.com/PRX/apn_on_rails
Related
I have been really interested in Flutter for the last few months and have been following the beta Flutter for web information. I was wondering, other than the ones mentioned in the documentation (Firebase, Github, Google Cloud), is there a way to currently test my app via using my Hostgator hosting and use something like Filezilla to publish the application/site?
I understand this is in a beta state. I only ask because the documentation states that there is a way to publish via those services but doesn't mention the way I am asking. I also understand that this is not production-ready.
Thank you all for any help
You can just run:
flutter build web
And then copy the contents of build/web to your web host's document root via a panel or FTP or something else.
I've been looking for over an hour and can't find an answer on this, not even on docs and the ones I have found are just too confusing. I want to know before starting to use Electron if the built apps with electron-bundler or any other bundlers can bundle Vue & MongoDB, so that when a user installs the Electron app - he doesn't need those libraries installed on his computer, but can use the app straight ahead.
I know it's a noob question, sorry, but I'm just too confused about all of this.
Vue, like all other Client SPA frameworks, is designed to build static assets that can run "standalone" in a browser. So it is straightforward bundling those assets in an electron app.
MongoDB, like most Server databases, is totally the opposite: it is designed to be installed once, run as a service, and Clients (including your electron app) connect to it (usually through a network). So it is very difficult bundling it in a standalone installer, not even talking about a portable app. The repo linked by Andrei Gheorghiu is an example of such architecture: it does not bundle the Mongo service, but connects to it.
If you look for "electron database" keywords, you will find plenty resources about this subject. The key is to look for self-contained / embedded databases, like SQLite. There are also some NoSQL alternatives, e.g. NeDB.
I am using Rails 3.2.2 and apn_sender 1.0.5 gem. I have generated proper apn_development.pem and apn_production.pem. I have added them in my rails application. By looking at some article, i have modified the apn_production.pem files permissions also. still i am not able to connect to Apple's APNS Server from my Rails Application.
feedback_data = APN::Feedback.new(:environment => :production), still returns
#<APN::Feedback: Connection not currently established to feedback.push.apple.com on 2196>
Am i missing something or does any body have a detailed tutorial of how to send (APNS) Apple push notifications from a Rails Application.
Any help would be greatly appreciated.
I have found solution. After generating proper certificates, i was having issue with "development build of the application for other environments". By replacing the mobile application with appropriate build, problem was solved.
Thanks!
the APN::Feedback.new() returns # which is a bit misleading. I thought there was a connection elsewhere that I had to make.
Turns out, I just had to call the .data method to start the connection
feedback_data = APN::Feedback.new().data
Are there any issues with having some apps utilizing EL 4.1 and some 5? Meaning if I decide that a new app will use 5.0 and the majority of the web apps existing is using 4.1, when I deploy to production or even in any situation would there be conflicts or problems if you have apps using different versions?
You cannot use multiple versions in the same application, but I have never had an issue using multiple versions of Enterprise Library in separate applications. There is only one thing I can think of that you might need to watch out for. If any of the web applications using the new version is a child of another using the old version, you might run into some issues due to configuration inheritance.
I am trying to develop an application which lists a set of enterprise application along with the installation status.I tried to do his by accessing "com.apple.mobile.installation.plist",but i am not aware about its exact location in device.Also this is an enterprise application so device should provide access to get this information some way..Looking for a solution.Also i need to delete the apps also ...
Cannot be done. App installation and deletion requires user initiative.