Skip to content

Commit

Permalink
SDK33 安卓8.1以下打包很多机型闪退 回退到32
Browse files Browse the repository at this point in the history
  • Loading branch information
czy0729 committed Jun 20, 2019
1 parent b7e2fb6 commit 8636acf
Show file tree
Hide file tree
Showing 16 changed files with 4,202 additions and 17,396 deletions.
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Bangumi",
"slug": "bangumi",
"privacy": "public",
"sdkVersion": "33.0.0",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
Expand Down Expand Up @@ -31,4 +31,4 @@
"description": "A React Native App for https://bangumi.tv ",
"githubUrl": "https://github.com/czy0729/Bangumi"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-disable */
// https://github.com/wcandillon/react-native-expo-image-cache/blob/master/src/CacheManager.js
import * as _ from 'lodash'
import * as FileSystem from 'expo-file-system'
// import * as FileSystem from 'expo-file-system'
import { FileSystem } from 'expo'
import SHA1 from 'crypto-js/sha1'

const BASE_DIR = `${FileSystem.cacheDirectory}expo-image-cache/`
Expand Down
7 changes: 4 additions & 3 deletions components/blur-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
* @Author: czy0729
* @Date: 2019-03-14 15:38:50
* @Last Modified by: czy0729
* @Last Modified time: 2019-06-17 00:38:47
* @Last Modified time: 2019-06-19 21:24:19
*/
import React from 'react'
import { StyleSheet, View } from 'react-native'
import { LinearGradient } from 'expo-linear-gradient'
import { BlurView as ExpoBlurView } from 'expo-blur'
// import { LinearGradient } from 'expo-linear-gradient'
// import { BlurView as ExpoBlurView } from 'expo-blur'
import { BlurView as ExpoBlurView, LinearGradient } from 'expo'
import { IOS } from '@constants'
import Image from './image'

Expand Down
5 changes: 3 additions & 2 deletions components/expand.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
* @Author: czy0729
* @Date: 2019-05-09 16:49:41
* @Last Modified by: czy0729
* @Last Modified time: 2019-06-17 00:38:55
* @Last Modified time: 2019-06-19 21:30:15
*/
import React from 'react'
import { StyleSheet, Animated, View } from 'react-native'
import { LinearGradient } from 'expo-linear-gradient'
// import { LinearGradient } from 'expo-linear-gradient'
import { LinearGradient } from 'expo'
import _ from '@styles'
import Touchable from './touchable'
import Iconfont from './iconfont'
Expand Down
5 changes: 3 additions & 2 deletions components/icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
* @Author: czy0729
* @Date: 2019-03-15 08:20:56
* @Last Modified by: czy0729
* @Last Modified time: 2019-06-14 21:12:05
* @Last Modified time: 2019-06-19 21:24:27
*/
import React from 'react'
import * as Icon from '@expo/vector-icons'
// import * as Icon from '@expo/vector-icons'
import { Icon } from 'expo'

const _Icon = ({ style, name, size, color, ...other }) => (
<Icon.Ionicons
Expand Down
5 changes: 3 additions & 2 deletions components/iconfont.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
* @Author: czy0729
* @Date: 2019-05-07 14:28:43
* @Last Modified by: czy0729
* @Last Modified time: 2019-06-16 23:21:31
* @Last Modified time: 2019-06-19 21:43:08
*/
import React from 'react'
import * as Icon from '@expo/vector-icons'
// import * as Icon from '@expo/vector-icons'
import { Icon } from 'expo'
import { colorIcon } from '@styles'

const Iconfont = ({ style, name, size, color, ...other }) => (
Expand Down
5 changes: 3 additions & 2 deletions constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
* @Author: czy0729
* @Date: 2019-02-22 01:25:31
* @Last Modified by: czy0729
* @Last Modified time: 2019-06-18 20:26:49
* @Last Modified time: 2019-06-19 21:25:04
*/
import { Platform } from 'react-native'
import Constants from 'expo-constants'
// import Constants from 'expo-constants'
import { Constants } from 'expo'

export const IOS = Platform.OS === 'ios'
export const MI = Constants.deviceName.includes('MI') // 小米MIUI
Expand Down
5 changes: 3 additions & 2 deletions navigations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2019-03-29 10:38:12
* @Last Modified by: czy0729
* @Last Modified time: 2019-06-17 01:41:51
* @Last Modified time: 2019-06-19 21:25:20
*/
import React from 'react'
import { StyleSheet, View } from 'react-native'
Expand All @@ -12,7 +12,8 @@ import {
getActiveChildNavigationOptions
} from 'react-navigation'
import { createBottomTabNavigator, BottomTabBar } from 'react-navigation-tabs'
import { BlurView } from 'expo-blur'
// import { BlurView } from 'expo-blur'
import { BlurView } from 'expo'
import {
Calendar,
Discovery,
Expand Down
Loading

0 comments on commit 8636acf

Please sign in to comment.