pashute / Noam

0 stars 0 forks source link

hockeyApp ios and android #40

Closed pashute closed 6 years ago

pashute commented 6 years ago

get it running, not crashing, in hockeyApp for ios and for android.

In any case, good to do, if/when we get time to work together: Install the new Visual Studio Code Live Share component for sharing code in VSCode.

see: https://code.visualstudio.com/blogs/2017/11/15/live-share

HockeyApp credentials in whatsapp.

First priority: ios:

ios

  1. ios - cannot build. when adding hockeyApp I forgot to first go back to the version without testflight. Then I built for hockeyapp and then I removed the testflight. And now doesn't build at all. even for debug on emulator without hockeyapp. SO:

Then follow the instructions for adding hockeyapp: https://github.com/benloopcompany/react-native-hockeyapp

I couldn't find the .a file from the instructions.

Then: after it builds ok:

This can either be programmed on your mac, or on macInCloud (the xcode is there. noam project is under the Desktop folder. There is also Visual Studio Code and even Live Share)

My credentials for remote macincloud - supplied in whatsapp. You have to remember to log off apple (by pressing apple and choosing log off) and not just close the remote session, otherwise I need to pay a mint. (a lot of money...)

android

feature/v098c builds ok. I put up on hockeyapp and crashes immediately.

pashute commented 6 years ago

Some yellowbox warnings of branch v101 show:

  1. class RCTxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE
  2. Module RCTImageLoader requires main queue setup since it overrides init but doesn't implement 'requiresMainQueueSetup'. in a future release RN will default....
  3. Module RNSimpleCompass requires main queue setup because... RN will default to initializing all native modules on a background thread. unless explicitely opted out.
  4. Module KontaktBeacons requires main queue setup since it overrides constantsToExport but doesn't implement 'requiresMainQueueSetup', in a future release RN will default to... ....
pashute commented 6 years ago

The following is not an indication of any problem, just for the record, this is the debug log:

Running application noam ({
    initialProps =     {
    };
    rootTag = 11; 
})
infoLog.js: 15 Running application "noam" with appParams: 
{  "rootTag":11,"initialProps":{}}. 
    __DEV__ === true, 
    development-level warning are ON, 
    performance optimizations are OFF

AppMain.ios.js:175 initializing ios beacon discovery
HelpFirstTime.js:14 helpfirsttime: true
AppMain.ios.js:178 dbg.appmain scanning start
pashute commented 6 years ago

Environment: OS: macOS High Sierra 10.13.6 Node: 8.11.3 Yarn: 1.9.4 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.4.1 Build version 9F2000 Android Studio: 3.1 AI-173.4670197

Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.3 => 0.55.3

pashute commented 6 years ago

skipping this. removed hockey