Commit Graph

102 Commits

Author SHA1 Message Date
max-mironov
60c0894a0a Fixed compile error when building CodePush with iOS app extension (#783) 2017-04-10 08:56:28 +03:00
BO KANG
e42485243d Upgrade RN 0.40 Finalization (#678)
* Header changes

* update the IOS header linker

* header swap
2017-01-24 10:14:49 -08:00
Christopher Dro
25851d24a1 Update header imports for RN 0.40 (#670)
This PR has been tested with the other two PRs for the RN 0.40.
2017-01-23 18:21:03 -08:00
Sergey Akhalkov
90f0bb81d1 Resolve CodePush.h for new iOS apps created with RN 0.40 (#665)
Instead of `#import "CodePush.h"`, use `#import "<CodePush/CodePush.h>` and export CodePush.h from our module.


* [iOS][Build] Add `Headers` and `Copy Files` build phases

Due to changes in new release of `react-native@0.40.0`
there is `CodePush.h file not found` error occures.
To fix it I've added `CodePush.h` header file in `Headers`
and `Copy Files` build phases and changed
`codePushHeaderImportStatement` variable value from `#import "CodePush.h"`
to `#import <CodePush/CodePush.h>` in `postlink.js` file.
Fix https://github.com/Microsoft/react-native-code-push/issues/662

* readme: update iOS manual plugin installation/usage documentation

Due to changes in React Native v0.40.0 and changes in CodePush project Step 6. of iOS manual plugin installation (add “Header Search Paths”) is not needed anymore. Also changed path to `CodePush.h` file in `AppDelegate.m` to `#import <CodePush/CodePush.h>`
2017-01-19 16:50:20 -08:00
Vladimir Kotikov
7572ddca61 Fix BuildVersionConfigKey spelling (#659) 2016-12-28 09:58:01 +03:00
Richard Hua
32032f191a Fix compilation error when installed by CocoaPods in Swift projects (#627) 2016-12-02 16:37:01 -08:00
Richard Hua
b08e987971 Fix issue where restarts did not happen on IMMEDIATE installs 2016-10-04 06:09:50 -07:00
Richard Hua
6dc1fb8487 Fix usage of NativeEventEmitter 2016-09-23 17:13:51 -07:00
Geoffrey Goh
f29e5c66e4 Merge pull request #500 from NewStore/fix-deprecated-Event-calls
Update deprecated iOS sendEvent method calls
2016-09-06 11:11:41 -07:00
Geoffrey Goh
a4c81549ce Merge pull request #507 from daniel-beard/dbeard_fix_implicit_conversion_warning
Fix implicit conversion warning
2016-09-01 14:26:45 -07:00
dbeard
b9e356846f Fix implicit conversion warning 2016-09-01 11:54:18 -07:00
dbeard
eeddfdab9b Check against self class in initialize methods 2016-09-01 11:41:31 -07:00
Geoffrey Goh
cb7480f12f fix main bundle search regression 2016-08-31 16:27:42 -07:00
dbeard
ddfafff5d6 Guard against NSError null pointer dereferences 2016-08-31 12:02:04 -07:00
Geoffrey Goh
e52b95abeb Update CodePush.m 2016-08-29 11:44:24 -07:00
Geoffrey Goh
18fc035807 prevent crashes during rollbacks 2016-08-27 18:11:43 -07:00
dbeard
8958b9699e Make isFailedHash and isPendingUpdate class methods 2016-08-25 11:12:36 -07:00
dbeard
050e433a94 iOS SDK: Expose isPendingUpdate and isFailedHash publicly 2016-08-25 10:34:35 -07:00
Geoffrey Goh
3994dba754 update error messages 2016-08-19 11:53:43 -07:00
max
0a780005a1 enhanced download package tolerance 2016-08-19 14:58:44 +08:00
Rahul Jiresal
66a301474a Ignoring __MACOSX folder too 2016-08-17 16:38:37 -07:00
Rahul Jiresal
146355b5e0 Fix the hash mismatch happening due to .DS_Store file when running on simulator 2016-08-17 15:35:11 -07:00
Geoffrey Goh
fdfb917c38 whitespace changes 2016-08-16 13:57:39 -07:00
Geoffrey Goh
983f25883f add api to specify custom NSBundle 2016-08-16 13:56:22 -07:00
Felix Sammet
a975d13a46 fix(ios): update deprecated method call 2016-08-08 10:20:33 +02:00
Richard Hua
5892600d2e Name the 'appVersion' parameter consistently 2016-08-03 16:31:41 -07:00
Richard Hua
1a1004ee8b Allow the binary version to be specified independently of the app version 2016-08-01 17:02:12 -07:00
Geoffrey Goh
c8d53e4755 prepend subdirectory to assets path 2016-07-13 23:04:10 -07:00
Geoffrey Goh
1907e01147 add comment 2016-07-13 00:14:41 -07:00
Geoffrey Goh
7811064d74 bump package.json version 2016-07-13 00:03:58 -07:00
Geoffrey Goh
7c5d9106c6 Update CodePush.m 2016-07-12 22:35:27 -07:00
Joshua Feldman
865dfbf9e8 Issue #427 - Adding subdirectory support for iOS bundle 2016-07-12 21:05:55 -07:00
Geoffrey Goh
31e1b8ca9d no-op if the pending update is already installed 2016-06-29 15:54:45 -07:00
Geoffrey Goh
b9824b9254 merge with master 2016-06-28 14:52:04 -07:00
Geoffrey Goh
2d337b3bb8 CPLog 2016-06-27 17:47:37 -07:00
Jonathan Carter
fcc05c65f8 Binary hash ios 2016-06-24 14:47:31 -07:00
scottbommarito
a37c0b989e use promises and an async function to improve behavior 2016-06-23 15:44:05 -07:00
Jonathan Carter
ca185e495b Improving los 2016-06-19 10:28:09 -07:00
Mike Douglas
287a631688 Make sure to call _pauseCallback() when modifying _paused ivar. 2016-06-07 15:38:19 -07:00
Jonathan Carter
f10eb7ef67 Adding braces 2016-05-23 15:26:51 -07:00
Jonathan Carter
c0c32babc7 Metrics fix 2016-05-23 15:06:17 -07:00
Geoffrey Goh
66a36071e5 fix rollback status report 2016-05-19 15:28:41 -07:00
Geoffrey Goh
73e4fa5c73 Update CodePushTelemetryManager.m 2016-05-12 15:00:21 -07:00
Geoffrey Goh
0ee423c259 retry report status 2016-05-09 18:49:58 -07:00
Geoffrey Goh
b93e97331a use instancesRespondsToSelector 2016-05-06 18:06:59 -07:00
Geoffrey Goh
21ebed7fd4 fix for ios7 2016-05-06 17:51:32 -07:00
Geoffrey Goh
dda1e2b859 fix for ios7 2016-05-06 17:48:29 -07:00
Geoffrey Goh
533192b123 Merge pull request #316 from Microsoft/download-progress-perf
Improve download progress perf
2016-04-28 17:11:55 -07:00
Geoffrey Goh
27e9f34991 add comment and resynthesize pauseCallback 2016-04-28 17:10:23 -07:00
Geoffrey Goh
5cc0556d1a add underscore prefix 2016-04-28 17:00:27 -07:00