Commit Graph

111 Commits

Author SHA1 Message Date
Djalma Araújo
751bf02836 Added requiresMainQueueSetup to prevent warning and future side-effects (#1035) 2017-10-09 13:37:43 +03:00
Max
4eee96fdbf fixed Failing signature check on iOS 9.3, working on iOS 10.3 #1021 issue (#1027) 2017-10-03 17:03:16 +03:00
Ruslan Bikkinin
e1cdd90e4e Add double hash checking support for code signing (#1005)
Add double hash checking support for code signing for both android and ios SDK
2017-09-18 13:37:44 +03:00
Ruslan Bikkinin
4ab0e5e9fe Implement code signing for client ios SDK (#974)
* Add JWT Library to ios project

* Add new option PublicKey to Info.plist

* Implement code signing mechanism

Update JWT library to 3.0.0-beta4
Implement signature verification mechanism

* Undo redundant changes

* Minor improvements

* Minor fixes

Add additional checking for specific update situations
Fix bugs
Refactor method names

* Add new dependencies to podspec

* Minor improvements

Fix log messages
2017-09-13 11:28:22 +03:00
Kevin Cooper
359ab9819c Update the debug message for missing bundles (#923)
* Update the debug message in CodePush.m for missing bundles

* Update text for updated RN PR

* Add a real example of what to add to the script
2017-09-07 17:03:10 +03:00
Julien K
3808b5732b [tvOS] Add target (#824)
* [Podspec] Add tvOS plarform

* [Project] Add tvOS target
2017-07-19 17:12:54 +03:00
Andrew Goodale
26d84b5a81 Fix declaration of "_installMode" to remove warnings (#922) 2017-07-17 11:30:26 +03:00
Max
afc71407dd Improved logic to show error msg dependent on debug/release config (#811)
* Improved logic for ensureIfBundleExist method to show different message for debug/release configurations

* fixed missing ;
2017-05-11 13:20:15 -07:00
Sergey Akhalkov
54351dbe19 installModes: implement new ON_NEXT_SUSPEND install mode (#770)
Restart the app _while_ it is in the background, but only after it has been in the background for "minimumBackgroundDuration" seconds (0 by default), so that user context isn't lost unless the app suspension is long enough to not matter.
2017-04-11 12:52:18 +03:00
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