X Tutup
Skip to content

Latest commit

 

History

History
 
 

README.md

CoderReader

CoderReader 是笔者闲暇时编写的专门的技术人员阅读应用,其包含了知识图谱、搜索、资讯、周刊、书籍等栏目,内容整合自笔者在 Coder-Reference: 追求技术之上的进阶阅读学习索引一文中介绍的技术社区,包括但不限于:

该应用目前是基于 Expo SDK 进行编译与发布,请先前往 Android 应用市场或者 APPStore 下载 Expo Client,然后扫描如下二维码即可打开:

也可以直接下载 Android APK:

本文余下部分是笔者在进行 React Native 开发过程中的笔记与实践总结,有兴趣者不妨一看。

Integrated Open Source Code

  • kittenTricks: A react native mobile starter kit with over 40 screens and theme hot reload support.

配置与调试

{
    "name": "CoderReader",
    "description": "No description",
    "slug": "CoderReader",
    "privacy": "public",
    "sdkVersion": "18.0.0",
    "version": "1.0.0",
    "orientation": "portrait",
    "primaryColor": "#cccccc",
    "icon": "./assets/icons/app-icon.png",
    "notification": {
        "icon": "./assets/icons/notification-icon.png",
        "color": "#000000",
        "iconUrl": "http://localhost:19001/assets/./assets/icons/notification-icon.png"
    },
    "loading": {
        "icon": "./assets/icons/loading-icon.png",
        "hideExponentText": false,
        "iconUrl": "http://localhost:19001/assets/./assets/icons/loading-icon.png"
    },
    "packagerOpts": {
        "hostType": "localhost",
        "lanType": "ip",
        "dev": true,
        "strict": false,
        "minify": false,
        "urlType": "exp",
        "urlRandomness": "gp-j7r"
    },
    "ios": {
        "supportsTablet": true
    },
    "xde": true,
    "developer": {
        "tool": "xde"
    },
    "env": {},
    "bundleUrl": "http://localhost:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=expo/tools/hashAssetFiles",
    "debuggerHost": "localhost:19001",
    "mainModuleName": "node_modules/expo/AppEntry",
    "logUrl": "http://localhost:19000/logs",
    "iconUrl": "http://localhost:19001/assets/./assets/icons/app-icon.png"
}
{
    "android": {
      "package": "cn.wxcoder.reader"
    }
}
# 编译 Android 版本
 
exp ba / exp build:android

# 编译独立的 iOS ipa 包

exp bi / exp build:ios

Expo Vector Icons

路由导航

curl -X POST \
  https://parg.co/api/shorten \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/x-www-form-urlencoded' \
  -H 'postman-token: 3470ba5e-e625-da31-8246-3c1df7e059e2' \
  -d 'api_key=0b7f4c7a35b8636e838e5d1f3658e4c0&email=384924552%40qq.com&url=https%3A%2F%2Ftsts.com'
X Tutup