...
|
...
|
@@ -26,6 +26,7 @@ import { |
|
|
setHost,
|
|
|
setServiceHost,
|
|
|
setChannel,
|
|
|
setContentCode,
|
|
|
} from './reducers/app/appActions';
|
|
|
|
|
|
|
...
|
...
|
@@ -43,11 +44,12 @@ export default function native(platform) { |
|
|
|
|
|
render() {
|
|
|
let type = this.props.type;
|
|
|
const store = configureStore(getInitialState());
|
|
|
const store = configureStore(getInitialState());
|
|
|
store.dispatch(setPlatform(platform));
|
|
|
store.dispatch(setHost(this.props.host));
|
|
|
store.dispatch(setChannel(this.props.channelId));
|
|
|
store.dispatch(setServiceHost(this.props.serviceHost));
|
|
|
store.dispatch(setContentCode(this.props.contentCode));
|
|
|
if (type == 'recForYou' ) {
|
|
|
return (
|
|
|
<Provider store={store}>
|
...
|
...
|
|