定制 enflow/component-brick 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

enflow/component-brick

Composer 安装命令:

composer require enflow/component-brick

包简介

The enflow/component-brick package provides the logic to connect to the iOS and Android side of the Brick framework.

README 文档

README

The enflow/component-brick package provides the logic to connect to the iOS and Android side of the Brick framework. Brick is meant to be used as the server-side variant of the Brick framework. See "Whats Brick"

What's Brick

Brick is Enflow's framework to create hybrid iOS and Android apps. These wrappers communicate with the server side trough a JavaScript bridge. This package writes a tag to your application that those native wrappers communicate with. The primary function of this package is to support push notifications by fetching the device ID from the device and write it to a table.

Installation

You can install the package via composer:

composer require enflow/component-brick

Migrations

This package includes a migration that needs to be published. This table (brick_devices) includes the mapping between the user and the hardware UUID of the iOS or Android device required for push notifications. New devices will be automatically assigned to the user. You can publish this migration by running:

php artisan vendor:publish --provider="Enflow\Component\Brick\BrickServiceProvider"

Usage

This package adds the BrickManager class to the container and injects a $brickManager variable to all views. This variable can be used to render the required tag automatically. We recommend adding this to the end of the master template, just before the </body>: {!! $brickManager->tags() !!}

We recommend viewing through the files in this package to understand its usage and logic.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email michel@enflow.nl instead of using the issue tracker.

Credits

About Enflow

Enflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info on our website.

统计信息

  • 总下载量: 41.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 1
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-29