File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- import { AppRegistry , Platform } from 'react-native' ;
2- import App from './App' ;
3- import TodayWidget from './TodayWidget' ;
1+ import { AppRegistry } from "react-native" ;
2+ import App from "./App" ;
43
5- AppRegistry . registerComponent ( 'Basic' , ( ) => App ) ;
6- if ( Platform . OS === 'ios' ) {
7- AppRegistry . registerComponent ( 'TodayWidgetExtension' , ( ) => TodayWidget ) ;
8- }
4+ AppRegistry . registerComponent ( "Basic" , ( ) => App ) ;
Original file line number Diff line number Diff line change 1+ import { AppRegistry } from "react-native" ;
2+ import TodayWidget from "./TodayWidget" ;
3+
4+ AppRegistry . registerComponent ( "TodayWidgetExtension" , ( ) => TodayWidget ) ;
Original file line number Diff line number Diff line change 99 "dependencies" : {
1010 "react" : " ^16.3.0-alpha.1" ,
1111 "react-native" : " 0.54.0" ,
12- "react-native-today-widget" : " ^0.10.1 "
12+ "react-native-today-widget" : " https://github.com/matejkriz/react-native-today-widget.git#feature/8-fix-unable-to-load-error "
1313 },
1414 "devDependencies" : {
1515 "babel-jest" : " 22.4.1" ,
Original file line number Diff line number Diff line change @@ -3758,9 +3758,9 @@ react-devtools-core@3.1.0:
37583758 shell-quote "^1.6.1"
37593759 ws "^2.0.3"
37603760
3761- react-native-today-widget@^0.10.1 :
3761+ " react-native-today-widget@https://github.com/matejkriz/react-native-today-widget.git#feature/8-fix-unable-to-load-error " :
37623762 version "0.10.1"
3763- resolved "https://registry.yarnpkg. com/react-native-today-widget/-/ react-native-today-widget-0.10.1.tgz#6cee595fdf8901e6e55613a2a5a1e9130804438a "
3763+ resolved "https://github. com/matejkriz/ react-native-today-widget.git#4f07243edd9c006952e9261ea054dff0d8cdbeb1 "
37643764
37653765react-native@0.54.0 :
37663766 version "0.54.0"
You can’t perform that action at this time.
0 commit comments