Skip to content

Commit

Permalink
Merge pull request #22 from markxoe/development
Browse files Browse the repository at this point in the history
0.13.5
  • Loading branch information
markxoe authored Jan 23, 2021
2 parents 2d3a4c9 + db337f5 commit d19080c
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 12 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "org.toastbrot.ichbineinebienemobile"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 29
versionName "0.13.4"
versionCode 30
versionName "0.13.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
8 changes: 4 additions & 4 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = 7BZBLBDUSX;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.13.4;
MARKETING_VERSION = 0.13.5;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = org.toastbrot.ichbineinebienemobile;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -375,12 +375,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = 7BZBLBDUSX;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.13.4;
MARKETING_VERSION = 0.13.5;
PRODUCT_BUNDLE_IDENTIFIER = org.toastbrot.ichbineinebienemobile;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_PUSH;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ichbineinebiene-mobile",
"version": "0.13.4",
"version": "0.13.5",
"private": true,
"dependencies": {
"@capacitor-community/firebase-analytics": "^0.2.0",
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Mark Oude Elberink

## Changelog

### [0.13.5] More Infinity :recycle:

- Profil Name / Bild Richtlinien

### [0.13.4] More Infinity :recycle:

- Bug Fix, so groß wie eine Wespe
Expand Down
6 changes: 6 additions & 0 deletions src/globals.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { stateType } from "./store/types";
import Axios from "axios";
import packagejs from "../package.json"
import calculateHeader from "./functions/calculateauthorization";
import { getPlatforms } from "@ionic/react";



export const rotateSpeedLevel = {
max: 3,
Expand Down Expand Up @@ -182,6 +186,8 @@ export const uploadData = (state: stateType) => {
process.env.react_app_usersapisecret ?? "verysecretalternative",
data.additionalBeeLength
),
version: packagejs.version,
platforms: getPlatforms().join(" ")
},
}
)
Expand Down
4 changes: 2 additions & 2 deletions src/other/release-notes.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"header": "Version 0.13.4",
"message": "0.13.4 Fixing a Big Bug, so groß wie eine Wespe"
"header": "Version 0.13.5",
"message": "0.13.5 Neue Namens & Profil Richtlinien"
}
46 changes: 44 additions & 2 deletions src/pages/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ import {
IonPage,
IonTitle,
IonToolbar,
IonCard,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonCardContent,
} from "@ionic/react";
import React, { useContext, useEffect } from "react";
import { uploadData } from "../globals";
import { uploadData, generateToast } from "../globals";
import { AppContext } from "../store/State";
import { CameraResultType, Plugins } from "@capacitor/core";
import avatar from "../res/avatar.svg";
Expand Down Expand Up @@ -121,7 +126,44 @@ const PageProfile: React.FC = () => {
</IonButton>
</IonItem>
<IonItemDivider>Erweitere Infos</IonItemDivider>
<IonItem>Deine ID: {state.userUUID}</IonItem>
<IonItem
onClick={() => {
Plugins.Clipboard.write({ string: state.userUUID });
generateToast("ID Kopiert", 1000, true);
}}>
Deine ID: {state.userUUID}
</IonItem>
<IonCard>
<IonCardHeader>
<IonCardTitle>Namensregeln</IonCardTitle>
<IonCardSubtitle>
Verstoß kann zu dauerhaftem Bann führen
</IonCardSubtitle>
</IonCardHeader>
<IonCardContent>
<ul>
<li>Keine Werbung für sich/andere</li>
<li>Kein Name der als unangemessen empfunden werden könnte</li>
<li>Nichts anstößiges</li>
<li>Nichts ultra langweiliges</li>
</ul>
</IonCardContent>
</IonCard>
<IonCard>
<IonCardHeader>
<IonCardTitle>Bildregeln</IonCardTitle>
<IonCardSubtitle>
Verstoß kann zu dauerhaftem Bann führen
</IonCardSubtitle>
</IonCardHeader>
<IonCardContent>
<ul>
<li>Keine Anstößigen Inhalte</li>
<li>Keine Bilder, die als unangemessen empfunden werden können</li>
<li>Der Rest erklärt sich von selber</li>
</ul>
</IonCardContent>
</IonCard>
</IonContent>
</IonPage>
);
Expand Down

0 comments on commit d19080c

Please sign in to comment.