Giter Club home page Giter Club logo

mhyc's Introduction

MhyC - Mobile Hybreed Core

The Mobile Hybreed Core library it's a function's suite designed to be used on mobile hybrid applications, simplifying the tasks that has to be performed on almost every hybird mobile app. Also includes methods to control the app's analytics through Google Analytics and control methods to implement the push notifications.

This library includes some useful functions to develop a mobile application. This functions are:

  • init: Initialize the library parameters.
  • start: Sets the environment to perform different actions over native device.
  • checkNet: Checks if the device has network connection
  • getLocation: Gets the device's location.
  • getPlatform: Gets the device platform (Android, iOS, Windows...)
  • millisecondsToTime: Converts a date on milliseconds to a "normal" date.
  • detectDevice: Returns if the device it's a phone or a tablet.
  • isLandscapedTablet: Detects if the device it's a landscape tablet.
  • getPressEvent: Gets the type of press event, depending on de OS.
  • isIOS: Checks if the device is iOS.
  • isAndroid: Checks if the device is Android.
  • UI
    • generateScroll: Sets a view scroll, using iScroll library if necessary.
    • createSpinner: Creates a spinner to be used through the application on loading times.
    • showSpinner: Shows the created spinner.
    • hideSpinner: Hides the created spinner.
    • addClearButton: Creates a X to show on forms, and clear it.
    • toggleInput: Adds or removes a CSS class.
  • Analytics
    • setTrackingID: Sets the Google Analytics tracking ID.
    • trackView: Tracks a view.
    • trackEvent: Tracks an event.
    • addCustomDimension: Adds a custom metric.
  • Push
    • setOnNotification: Receives a function that sets the behaviour when a push notification arrives.
    • setConfig: Sets the configuration parameters for push notifications.
    • init: Initialize the application push notifications settings, with the parameters set on the configuration method.

mhyc's People

Contributors

creyesat avatar mibaldi avatar

Watchers

 avatar  avatar

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.