Skip to content

async await for push and showModal#2270

Merged
DanielZlotin merged 16 commits into
v2from
v2-asyncCommands
Dec 20, 2017
Merged

async await for push and showModal#2270
DanielZlotin merged 16 commits into
v2from
v2-asyncCommands

Conversation

@yogevbd
Copy link
Copy Markdown
Collaborator

@yogevbd yogevbd commented Dec 4, 2017

No description provided.

@yogevbd yogevbd added the v2 label Dec 4, 2017
@yogevbd yogevbd self-assigned this Dec 6, 2017
@yogevbd yogevbd requested a review from DanielZlotin December 7, 2017 08:21
@DanielZlotin
Copy link
Copy Markdown
Contributor

please resolve conflicts

Comment thread lib/ios/RNNControllerFactory.m Outdated
RNNNavigationOptions* options = [[RNNNavigationOptions alloc] initWithDict:node.data[@"navigationOptions"]];
NSString* containerId = node.nodeId;
return [[RNNRootViewController alloc] initWithName:name withOptions:options withContainerId:containerId rootViewCreator:_creator eventEmitter:_eventEmitter];
return [[RNNRootViewController alloc] initWithName:name withOptions:options withContainerId:containerId rootViewCreator:_creator eventEmitter:_eventEmitter customTransitionDict:customTransition];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please refactor and use a typed object instead of a dictionary, all the way from command handler down to the animation manager

@yogevbd yogevbd requested a review from DanielZlotin December 20, 2017 11:57
Comment thread lib/ios/RNNAnimator.m

@implementation RNNAnimator

- (instancetype)initWithAnimationsDictionary:(NSDictionary *)animationsDic {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be easily unit-tested in native (XCtests). I'll merge the changes, plz open a separate issue on it and assign yourself

@DanielZlotin DanielZlotin merged commit 290ff8d into v2 Dec 20, 2017
@DanielZlotin DanielZlotin deleted the v2-asyncCommands branch December 20, 2017 13:09
chilinh added a commit to chilinh/react-native-navigation that referenced this pull request Dec 21, 2017
* r_v2: (75 commits)
  Topbar (wix#2382)
  V2 background Image options (wix#2375)
  async await for push and showModal (wix#2270)
  Temporarily disable failing e2e test (wix#2377)
  navigation bars e2e with testIDs (wix#2365)
  V2 drawUnder for topBar and bottomTabs (wix#2376)
  xcpretty was swallowing test errors
  back to normal
  back to normal
  try fix travis
  Setup TopTabs with ViewPager (wix#2373)
  try fix travis
  try fix travis
  Further work on TopTabs and some refactoring (wix#2362)
  try fix travis
  try fix travis
  try fix travis
  try fix travis
  try fix travis
  another try
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants