Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Releases: artemyarulin/react-native-eval

Cocoapods supported

09 Sep 08:56
Compare
Choose a tag to compare

Now installation process involves CocoaPods which makes integration of this library really simple

Async functions supported

08 Sep 13:58
Compare
Choose a tag to compare

Now you can call async functions from your JS:

[RNMEvaluator callAsyncFunction:bridge
                           name:@"(function(a,b,cb) { setTimeout(function() { cb(Math.pow(a,b)) },0) })"
                           args:@[@2,@2]
                             cb:^(NSString *error, id returnValue) {
                                 if (error)
                                     NSLog(@"Error occured: %@", error);
                                 else
                                     NSLog(@"Function returned: %@", returnValue);
                             }]

Breaking: [RNMEvaluator callFunction] renamed to [RNMEvaluator callSyncFunction]

Bump release

24 Aug 11:15
Compare
Choose a tag to compare

Just to keep updated with react-native version.

Actually from now on there would be no need to update this package as I removed dependency on a specific version of react-native

Fixes npm package

18 Jul 10:03
Compare
Choose a tag to compare

v.0.0.6 contained test folder with whole react-native folder which completely messes up everything

Use NSString for errors rather than NSError

18 Jul 08:17
Compare
Choose a tag to compare

react-native from v.0.7.0 doesn't know how to bridge Error to NSError, so let's use strings then

Make lib compatible with react-native =>0.0.7

18 Jul 05:18
Compare
Choose a tag to compare
0.0.5

Update lib to be compatable with react-native >=v.0.7.0

Fixed npm package dependency

15 Jun 10:30
Compare
Choose a tag to compare
0.0.4

package peer-dependency replaced with dependency

Fixed version

26 Apr 12:47
Compare
Choose a tag to compare

Fixed JS, so that now it automatically get included by React-Native

Fixed missing target for XCode project

26 Apr 11:05
Compare
Choose a tag to compare
0.0.2

Update to v.0.0.2

First release

26 Apr 08:35
Compare
Choose a tag to compare

callFunctionSync implemented