jamesnocentini / ToDoLite-ReactNative

To-Do list sample app using Couchbase Lite and React Native
1 stars 0 forks source link

3 issues found and fixed #1

Open atom992 opened 9 years ago

atom992 commented 9 years ago

env: XCode Version 7.0.1 (7A1001) + MAC 10.10.5 (14F27) + couchbase-lite-ios-enterprise_1.1.1-18

  1. CBLRegisterJSViewCompiler.h not found fixed by add couchbase-lite-ios-enterprise_1.1.1-18/Extras/* to Frameworks directory.
  2. App Transport Security policy requires the use of a secure connection on iOS9 simulator (index.ios.bundle.js can not load) fixed by add a new set of keys to Info.plist: NSAppTransportSecurity: Dictionary
    • NSAllowsArbitraryLoads: Boolean = YES
  3. can not access SG change https://github.com/jamiltz/ToDoLite-ReactNative/blob/master/app/utils/api.js#L2 to url: 'http://127.0.0.1:4984', default SG user REST Port is 4984.
atom992 commented 9 years ago

sorry about 3. 4984 is SG's port, and CBL's port is set to 5800 in AppDelegate.m so do not change 5800 to 4984.