mirror of
https://github.com/Telecominfraproject/wlan-sdk-mobile-app.git
synced 2025-10-29 18:02:23 +00:00
Added in new MULTI_DEVICES config in .env, this is set to false currently.
This commit is contained in:
1
.env
1
.env
@@ -1,2 +1,3 @@
|
||||
TIP_REGISTRY_URL=https://s3.us-west-2.amazonaws.com/ucentral.arilia.com/tip_selfcare_registry.json
|
||||
MULTI_DEVICES=false
|
||||
PARENTAL_CONTROLS=false
|
||||
@@ -135,8 +135,8 @@ android {
|
||||
applicationId "com.telecominfraproject.openwifi.myopenwifi"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 3
|
||||
versionName "0.5.1"
|
||||
versionCode 4
|
||||
versionName "0.5.2"
|
||||
}
|
||||
splits {
|
||||
abi {
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.5.1</string>
|
||||
<string>0.5.2</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3</string>
|
||||
<string>4</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true />
|
||||
<key>NSAppTransportSecurity</key>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.5.1</string>
|
||||
<string>0.5.2</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3</string>
|
||||
<string>4</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "myopenwifi",
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android": "react-native run-android",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import Config from 'react-native-config';
|
||||
import React, { useCallback, useRef, useState } from 'react';
|
||||
import { strings } from '../localization/LocalizationStrings';
|
||||
import { pageStyle, okColor, infoColor, errorColor, primaryColor, whiteColor, grayBackgroundcolor } from '../AppStyle';
|
||||
@@ -161,18 +162,20 @@ const Dashboard = props => {
|
||||
|
||||
const renderAccessPointButtons = () => {
|
||||
return (
|
||||
<View style={componentStyles.accessPointButtonsContainer}>
|
||||
<TouchableOpacity onPress={onAddAccessPointPress}>
|
||||
<Image style={componentStyles.accessPointButtons} source={require('../assets/plus-solid.png')} />
|
||||
</TouchableOpacity>
|
||||
<Text style={componentStyles.iconLabel}>{strings.dashboard.network}</Text>
|
||||
<TouchableOpacity onPress={onDeleteAccessPointPress}>
|
||||
<Image
|
||||
style={[componentStyles.accessPointButtons, componentStyles.deleteIcon]}
|
||||
source={require('../assets/times-solid.png')}
|
||||
/>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
Config.MULTI_DEVICES === 'true' && (
|
||||
<View style={componentStyles.accessPointButtonsContainer}>
|
||||
<TouchableOpacity onPress={onAddAccessPointPress}>
|
||||
<Image style={componentStyles.accessPointButtons} source={require('../assets/plus-solid.png')} />
|
||||
</TouchableOpacity>
|
||||
<Text style={componentStyles.iconLabel}>{strings.dashboard.network}</Text>
|
||||
<TouchableOpacity onPress={onDeleteAccessPointPress}>
|
||||
<Image
|
||||
style={[componentStyles.accessPointButtons, componentStyles.deleteIcon]}
|
||||
source={require('../assets/times-solid.png')}
|
||||
/>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ export default function SignUp(props) {
|
||||
|
||||
const deleteSignUp = async () => {
|
||||
try {
|
||||
// Delete the current sign-up process upon success or failure. This may be removed in the future.
|
||||
// Delete the current sign-up process upon success or failure. This may be removed in the future.
|
||||
await subscriberRegistrationApi.deleteSignup(email, macAddress, signUpStatus.id);
|
||||
|
||||
if (isMounted.current) {
|
||||
|
||||
Reference in New Issue
Block a user