fastman3-dfyjapp-callapp

h5 call app

Usage no npm install needed!

<script type="module">
  import fastman3DfyjappCallapp from 'https://cdn.skypack.dev/fastman3-dfyjapp-callapp';
</script>

README

fastman3-dfyjapp-callapp

CHANGELOG

v 1.0.0 - 2021.06.30

  1. 初始化构建

v 1.0.1 - 2021.10.29

  1. 新增newcallapp组件,在configcenter中src新增目录callapp,配置callapp所需地址

// v1,v2使用 需要把configuration 传进来

  1. 安装依赖包 npm install fastman3-dfyjapp-configcenter; npm install fastman3-dfyjapp-callapp;

  2. 在config里引入地址配置 const callAppPluginConfig = require('fastman3-dfyjapp-configcenter/es/callapp/uat')//根据环境配置

    config{ // 添加 callAppPluginConfig } export default Object.freeze(extend({}, baseConfig, config, standardConfig));

//使用 import { newCallApp } from "fastman3-dfyjapp-callapp"; import configuration from 'config'; newCallApp({ configuration });

// v3 使用 fastman3-dfyjapp-configcenter下callapp目录下配置路径;

import { newCallApp } from "fastman3-dfyjapp-callapp"; newCallApp({});

v 1.0.2 - 2021.10.29

  1. callback跳转路由去除双引号

v 1.0.3 - 2021.11.03

  1. newCallApp组件新增等待唤端时间参数time,不传判断是否有渠道号有则500毫秒没有默认3000毫秒, 例:1.newCallApp({time:3000});2.newCallApp({});