Code Monkey home page Code Monkey logo

lebox's Introduction

lebox

梦工厂开心盒子

说明

参数替换

app/src/main/AndroidManifest.xml, 以下元数据可以替换:

  • MGC_APPID: 梦工厂渠道id, 从梦工厂申请
  • MGC_TEST_ENV: 使用测试环境, 开发时建议为true
  • UMENG_APPKEY: 友盟app key
  • UMENG_CHANNEL: 友盟渠道
  • MGC_WECHAT_APPID: 微信后台app id
  • MGC_WECHAT_APPSECRET: 微信app secret

签名替换

  • 为了微信登录功能正常, 请设置自己的签名证书并在微信后台设置签名指纹

支持猎豹游戏

  • 如果需要支持猎豹游戏, 可以在AndroidManifest.xml中添加一下元数据用于配置猎豹环境
<meta-data
    android:name="CMGAME_SDK_ID"
    android:value="猎豹的sdkid" />
<meta-data
    android:name="CMGAME_HOST"
    android:value="猎豹url" />
<meta-data
    android:name="CMGAME_TT_BANNER_ID"
    android:value="头条banner广告id" />
<meta-data
    android:name="CMGAME_TT_VIDEO_ID"
    android:value="头条视频广告id" />

微信登录

  • 如果修改了包名, 请确认也修改了build.gradle中的applicationId, 如下:
    defaultConfig {
        applicationId "com.mgc.letobox.happy" // 这个请修改成你的包名
        
        ...
    }
  • 另外WXEntryActivity需要放置在包名.wxapi下, 请移动WXEntryActivity以适合你的包名. 比如你的新包名是a.b, 则把WXEntryActivity.java挪到a.b.wxapi包下.

有问题可以进QQ群:926072116 讨论

梦工厂LeBox技术讨论群

lebox's People

Contributors

stubma avatar

Watchers

 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.