Code Monkey home page Code Monkey logo

Comments (5)

manuel-rubio avatar manuel-rubio commented on May 23, 2024

well, ejabberd as external module is a bit comple but if you modify the current code, you can add the dependency in rebar.config file, it should do the magic :-) ... after that, you'll need to create a module to use it, of course.

from apns4erl.

joanlopez avatar joanlopez commented on May 23, 2024

Okay, I will add the 'apns4erl' as a dependency in my rebar.config.
This theorically solves my first question..
But what about the other things?
I'm implementing a module with a hook and so on.. but for example:

  • Where I should define the configurations detailed on apns4erl readme?
    (Maybe on the rebar.config also?)
  • Where I should create the connection?
    (Maybe on the module init function? Or every time that I send a push?)

Etc..

Many thanks @manuel-rubio !!! 👍

from apns4erl.

manuel-rubio avatar manuel-rubio commented on May 23, 2024

About the questions:

  • you should to define the configuration in the start of the new module you have to create.
  • the same, in the start of the module.

About configuration, for example, you can add it to the module configuration to get it in the Opts param for start the module. It's not hard to do, but you need to review code from other modules to realize how to do it ;-)

If you need more help we can talk in DM, talk in spanish is better for me :-P

from apns4erl.

joanlopez avatar joanlopez commented on May 23, 2024

Okay, It will be better.

DMs in spanish, but with which communication channel? jajaja

Then I will write a Wiki page/tutorial like @monkeyfdude but explaining all the integration process.

from apns4erl.

ferigis avatar ferigis commented on May 23, 2024

I think we can close that ticket

from apns4erl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.