Added in new MULTI_DEVICES config in .env, this is set to false currently.

This commit is contained in:
Dan Lefrancois
2022-02-28 15:55:10 -08:00
parent ee6a9a8d20
commit 980e429202
7 changed files with 24 additions and 20 deletions

1
.env
View File

@@ -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

View File

@@ -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 {

View File

@@ -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>

View File

@@ -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>

View File

@@ -1,6 +1,6 @@
{
"name": "myopenwifi",
"version": "0.5.1",
"version": "0.5.2",
"private": true,
"scripts": {
"android": "react-native run-android",

View File

@@ -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>
)
);
};

View File

@@ -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) {