This commit is contained in:
Feruz 2019-02-12 23:00:16 +02:00
parent 33ffcd465a
commit c3e275c888
19 changed files with 71 additions and 95 deletions

View File

@ -3,10 +3,10 @@
platform :ios, '9.0'
target 'eSteem' do
pod 'AppCenter/Push', '~> 1.13.0'
pod 'AppCenter/Crashes', '~> 1.13.0'
pod 'AppCenter/Analytics', '~> 1.13.0'
pod 'AppCenterReactNativeShared', '~> 1.12.0'
pod 'AppCenter/Push', '~> 1.11.0'
pod 'AppCenter/Crashes', '~> 1.11.0'
pod 'AppCenter/Analytics', '~> 1.11.0'
pod 'AppCenterReactNativeShared', '~> 1.10.0'
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!

View File

@ -1,13 +1,13 @@
PODS:
- AppCenter/Analytics (1.13.0):
- AppCenter/Analytics (1.11.0):
- AppCenter/Core
- AppCenter/Core (1.13.0)
- AppCenter/Crashes (1.13.0):
- AppCenter/Core (1.11.0)
- AppCenter/Crashes (1.11.0):
- AppCenter/Core
- AppCenter/Push (1.13.0):
- AppCenter/Push (1.11.0):
- AppCenter/Core
- AppCenterReactNativeShared (1.12.0):
- AppCenter/Core (= 1.13.0)
- AppCenterReactNativeShared (1.10.0):
- AppCenter/Core (= 1.11.0)
- Base64 (1.1.2)
- boost-for-react-native (1.63.0)
- CodePush (5.5.2):
@ -87,10 +87,10 @@ PODS:
- yoga (0.57.8.React)
DEPENDENCIES:
- AppCenter/Analytics (~> 1.13.0)
- AppCenter/Crashes (~> 1.13.0)
- AppCenter/Push (~> 1.13.0)
- AppCenterReactNativeShared (~> 1.12.0)
- AppCenter/Analytics (~> 1.11.0)
- AppCenter/Crashes (~> 1.11.0)
- AppCenter/Push (~> 1.11.0)
- AppCenterReactNativeShared (~> 1.10.0)
- CodePush (from `../node_modules/react-native-code-push`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
@ -144,8 +144,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
AppCenter: a70408f15de23f925001bfc7b7473094a009a4eb
AppCenterReactNativeShared: 542de3c68bcec89fba964213048287592a443976
AppCenter: 3bccf8d733e337d0db574dd4cb0e33ab9637b7f2
AppCenterReactNativeShared: a77b000c2ac6dc2e44472621d7d0770f196e5822
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CodePush: 338a023972c64636503e8886cf4cb6ec27dd1c01
@ -164,6 +164,6 @@ SPEC CHECKSUMS:
SSZipArchive: 41455d4b8d2b6ab93990820b50dc697c2554a322
yoga: 74cdf036c30820443b25ade59916236b1e95ee93
PODFILE CHECKSUM: 7e5e745ff42e44b918e4f17ac209c3b553d6be97
PODFILE CHECKSUM: 19ca750f5874376432380838891f13aaeecb302d
COCOAPODS: 1.6.0

View File

@ -6,7 +6,6 @@
#import "MSChannelGroupProtocol.h"
#import "MSChannelProtocol.h"
#import "MSConstants.h"
#import "MSCustomProperties.h"
#import "MSDevice.h"
#import "MSEnable.h"
#import "MSLog.h"
@ -16,3 +15,7 @@
#import "MSServiceAbstract.h"
#import "MSWrapperLogger.h"
#import "MSWrapperSdk.h"
#if !TARGET_OS_TV
#import "MSCustomProperties.h"
#endif

View File

@ -188,21 +188,4 @@
*/
+ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler;
/**
* Set the user identifier.
*
* @param userId User identifier.
*
* @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c
* MSAppCenter:start:withServices: contains "target={targetToken}".
*
* The App Center backend currently do not yet use the user identifier so this API doesn't have a use case yet when the secret passed to @c
* MSAppCenter:start:withServices: contains an App Center application secret.
*
* For App Center backend the user identifier maximum length is 256 characters.
*
* AppCenter must be configured or started before this API can be used.
*/
+ (void)setUserId:(NSString *)userId;
@end

View File

@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN
* @discussion The default maximum database size is 10485760 bytes (10 MiB).
*
* @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size
* (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored.
* (default is 4096 bytes). Values below 20480 bytes (20 KiB) will be ignored.
* @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size
* is successful, and `NO` otherwise.
*/

View File

@ -25,11 +25,6 @@
*/
@property(nonatomic, copy) NSString *distributionGroupId;
/**
* Optional user identifier.
*/
@property(nonatomic, copy) NSString *userId;
/**
* Device properties associated to this log.
*/

View File

@ -25,14 +25,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)setAppLocale:(nullable NSString *)appLocale;
/**
* Set the user identifier.
* The user identifier needs to start with c: or i: or d: or w: prefixes.
*
* @param userId user identifier.
*/
- (void)setUserId:(nullable NSString *)userId;
/**
* Set a string event property to be attached to events tracked by this transmission target and its child transmission targets.
*

View File

@ -4,18 +4,16 @@
@interface AppCenterReactNativeShared : NSObject
+ (void)setAppSecret:(NSString *)secret;
+ (void) setAppSecret: (NSString *)secret;
+ (NSString *)getAppSecret;
+ (NSString *) getAppSecret;
+ (void)configureAppCenter;
+ (void) configureAppCenter;
+ (MSWrapperSdk *)getWrapperSdk;
+ (MSWrapperSdk *) getWrapperSdk;
+ (void)setWrapperSdk:(MSWrapperSdk *)sdk;
+ (void) setWrapperSdk:(MSWrapperSdk *)sdk;
+ (void)setStartAutomatically:(BOOL)shouldStartAutomatically;
+ (NSDictionary *)getConfiguration;
+ (void) setStartAutomatically:(BOOL)shouldStartAutomatically;
@end

26
ios/Pods/Manifest.lock generated
View File

@ -1,13 +1,13 @@
PODS:
- AppCenter/Analytics (1.13.0):
- AppCenter/Analytics (1.11.0):
- AppCenter/Core
- AppCenter/Core (1.13.0)
- AppCenter/Crashes (1.13.0):
- AppCenter/Core (1.11.0)
- AppCenter/Crashes (1.11.0):
- AppCenter/Core
- AppCenter/Push (1.13.0):
- AppCenter/Push (1.11.0):
- AppCenter/Core
- AppCenterReactNativeShared (1.12.0):
- AppCenter/Core (= 1.13.0)
- AppCenterReactNativeShared (1.10.0):
- AppCenter/Core (= 1.11.0)
- Base64 (1.1.2)
- boost-for-react-native (1.63.0)
- CodePush (5.5.2):
@ -87,10 +87,10 @@ PODS:
- yoga (0.57.8.React)
DEPENDENCIES:
- AppCenter/Analytics (~> 1.13.0)
- AppCenter/Crashes (~> 1.13.0)
- AppCenter/Push (~> 1.13.0)
- AppCenterReactNativeShared (~> 1.12.0)
- AppCenter/Analytics (~> 1.11.0)
- AppCenter/Crashes (~> 1.11.0)
- AppCenter/Push (~> 1.11.0)
- AppCenterReactNativeShared (~> 1.10.0)
- CodePush (from `../node_modules/react-native-code-push`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
@ -144,8 +144,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
AppCenter: a70408f15de23f925001bfc7b7473094a009a4eb
AppCenterReactNativeShared: 542de3c68bcec89fba964213048287592a443976
AppCenter: 3bccf8d733e337d0db574dd4cb0e33ab9637b7f2
AppCenterReactNativeShared: a77b000c2ac6dc2e44472621d7d0770f196e5822
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CodePush: 338a023972c64636503e8886cf4cb6ec27dd1c01
@ -164,6 +164,6 @@ SPEC CHECKSUMS:
SSZipArchive: 41455d4b8d2b6ab93990820b50dc697c2554a322
yoga: 74cdf036c30820443b25ade59916236b1e95ee93
PODFILE CHECKSUM: 7e5e745ff42e44b918e4f17ac209c3b553d6be97
PODFILE CHECKSUM: 19ca750f5874376432380838891f13aaeecb302d
COCOAPODS: 1.6.0

View File

@ -9,154 +9,154 @@
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>9</integer>
<integer>10</integer>
</dict>
<key>AppCenterReactNativeShared.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>10</integer>
<integer>11</integer>
</dict>
<key>Base64.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>11</integer>
<integer>12</integer>
</dict>
<key>CodePush.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>13</integer>
<integer>14</integer>
</dict>
<key>DoubleConversion.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>14</integer>
<integer>15</integer>
</dict>
<key>FLAnimatedImage.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>15</integer>
<integer>16</integer>
</dict>
<key>Folly.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>16</integer>
<integer>17</integer>
</dict>
<key>JWT.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>18</integer>
<integer>19</integer>
</dict>
<key>Pods-eSteem-tvOS.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>20</integer>
<integer>21</integer>
</dict>
<key>Pods-eSteem-tvOSTests.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>21</integer>
<integer>22</integer>
</dict>
<key>Pods-eSteem.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>19</integer>
<integer>20</integer>
</dict>
<key>Pods-eSteemTests.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>22</integer>
<integer>23</integer>
</dict>
<key>QBImagePickerController-QBImagePicker.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>24</integer>
<integer>25</integer>
</dict>
<key>QBImagePickerController.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>23</integer>
<integer>24</integer>
</dict>
<key>RNImageCropPicker.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>27</integer>
<integer>28</integer>
</dict>
<key>RSKImageCropper.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>28</integer>
<integer>29</integer>
</dict>
<key>SDWebImage.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>29</integer>
<integer>30</integer>
</dict>
<key>SSZipArchive.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>30</integer>
<integer>31</integer>
</dict>
<key>boost-for-react-native.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>12</integer>
<integer>13</integer>
</dict>
<key>glog.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>17</integer>
<integer>18</integer>
</dict>
<key>react-native-fast-image.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>25</integer>
<integer>26</integer>
</dict>
<key>react-native-version-number.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>26</integer>
<integer>27</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>

View File

@ -4,6 +4,11 @@
<dict>
<key>SchemeUserState</key>
<dict>
<key>eSteem-release.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>9</integer>
</dict>
<key>eSteem-tvOS.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>

View File

@ -31,7 +31,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>707</string>
<string>777</string>
<key>CodePushDeploymentKey</key>
<string>13ThFZsgwk6UZp6mIe95IDbnfw8iHy1jfsn-E</string>
<key>LSRequiresIPhoneOS</key>
@ -57,7 +57,7 @@
<key>NSCameraUsageDescription</key>
<string>To access your photos, eSteem needs your permission to help you share your photos.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string/>
<string></string>
<key>NSMainNibFile</key>
<string>LaunchScreen</string>
<key>NSMicrophoneUsageDescription</key>

View File

@ -36,7 +36,7 @@ class WalletView extends PureComponent {
? `${Math.round(walletData.rewardSteemBalance * 1000) / 1000} STEEM`
: ''}
{walletData.rewardSbdBalance
? ` ${Math.round(walletData.rewardSbdBalance * 1000) / 1000} SDB`
? ` ${Math.round(walletData.rewardSbdBalance * 1000) / 1000} SBD`
: ''}
{walletData.rewardVestingSteem
? ` ${Math.round(walletData.rewardVestingSteem * 1000) / 1000} SP`