Skip to content

Yukaii/kaif-ios

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ios
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Kaif.io iOS Client App

Kaif.io unofficial iOS Client App. Made with React Native.

Screenshots

Setup

React Native

npm install
cp src/config/config.sample.js src/config/config.js

然後在 config.js 填入在 kaif client apps 新增應用程式的 client id 還有 client secret,最後:

npm start

會跑起 react native 的 packager。接下來我們要設定 Xcode的部分。

Xcode

打開 ios 資料夾理的 KaifIoIos.xcodeproj,更改 bundle identifier(如果要的話)、fix issues(如果要的話)。Build and Run!

Development

要進行開發的話把 AppDelegate.m 裡 47 行的

jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];

註解掉,然後工具列的 Product => Scheme => Edit Scheme... 點進去,把 Build Configuration 改成 Release

一樣跑起 npm start,Build and Run!

About

🔺An iOS client for kaif.io made with React Native!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published