-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5f0a11b
Showing
177 changed files
with
10,670 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Autogenerated by fastlane | ||
# | ||
# Ensure this file is checked in to source control! | ||
|
||
source "https://rubygems.org" | ||
|
||
gem 'fastlane' | ||
|
||
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') | ||
eval_gemfile(plugins_path) if File.exist?(plugins_path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
This is an example app for {N} using Svelte / Sentry / Fastlane. | ||
|
||
|
||
### Usage | ||
|
||
```bash | ||
tns run android --bundle | ||
``` | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
platforms/android/app/build/outputs/bundle/release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<script lang="ts"> | ||
import { openUrl } from '@nativescript/core/utils/utils'; | ||
import ThirdPartySoftwareBottomSheet from './ThirdPartySoftwareBottomSheet.svelte'; | ||
import { share } from '~/utils/share'; | ||
import { mdiFontFamily, primaryColor } from '~/variables'; | ||
import * as EInfo from 'nativescript-extendedinfo'; | ||
import { l } from '~/helpers/locale'; | ||
import { openLink } from '~/utils/ui'; | ||
import CActionBar from './CActionBar.svelte'; | ||
import SettingLabelIcon from './SettingLabelIcon.svelte'; | ||
import { showBottomSheet } from '~/bottomsheet'; | ||
const appVersion = EInfo.getVersionNameSync() + '.' + EInfo.getBuildNumberSync(); | ||
function onTap(command) { | ||
switch (command) { | ||
case 'back': { | ||
this.$navigateBack(); | ||
return; | ||
} | ||
case 'github': | ||
openLink(GIT_URL); | ||
break; | ||
case 'share': | ||
share({ | ||
message: STORE_LINK, | ||
}); | ||
break; | ||
case 'review': | ||
openUrl(STORE_REVIEW_LINK); | ||
break; | ||
case 'third_party': | ||
showBottomSheet({ | ||
parent:this, | ||
view:ThirdPartySoftwareBottomSheet, | ||
ignoreTopSafeArea: true, | ||
trackingScrollView: 'trackingScrollView', | ||
}); | ||
break; | ||
} | ||
} | ||
</script> | ||
|
||
<frame backgroundColor="transparent"> | ||
<page actionBarHidden="true"> | ||
<gridlayout rows="auto,*"> | ||
<CActionBar canGoBack modalWindow title={l('about')}/> | ||
<scrollView row="1"> | ||
<stackLayout> | ||
<SettingLabelIcon title={l('version')} subtitle={appVersion} /> | ||
<SettingLabelIcon title={l('share_application')} icon="mdi-chevron-right" on:tap={()=>onTap('share')} /> | ||
<SettingLabelIcon title={l('source_code')} subtitle="obtenir le code source de l'application sur Github" icon="mdi-chevron-right" on:tap={()=>onTap('github')} /> | ||
<SettingLabelIcon title={l('third_parties')} subtitle="les logiciels que nous aimons et utilisons" icon="mdi-chevron-right" on:tap={()=>onTap('third_party')} /> | ||
<SettingLabelIcon title={l('share_application')} icon="mdi-chevron-right" on:tap={()=>onTap('share')} /> | ||
<SettingLabelIcon title={l('review_application')} icon="mdi-chevron-right" on:tap={()=>onTap('review')} /> | ||
</stackLayout> | ||
</scrollView> | ||
</gridlayout> | ||
</page> | ||
</frame> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script lang="ts"> | ||
import { onMount } from 'svelte'; | ||
import { accentColor } from '~/variables'; | ||
import { closeBottomSheet } from '~/bottomsheet'; | ||
export let options; | ||
export let title = null; | ||
function selectOption(option) { | ||
closeBottomSheet(option); | ||
} | ||
</script> | ||
|
||
<stacklayout class="bottomsheet"> | ||
{#if title} | ||
<htmllabel paddingLeft="16" fontSize="17" color="#757575" text={title} height="56" verticalTextAlignment="center" /> | ||
{/if} | ||
{#each options as item} | ||
<stacklayout rippleColor={accentColor} paddingTop="5" paddingBottom="5" orientation="horizontal" on:tap={() => selectOption(item)} height="56"> | ||
<htmllabel paddingLeft="16" class="mdi" fontSize="24" text={item.icon} width="56" verticalAlignment="center" /> | ||
<htmllabel fontSize="17" text={item.text} verticalAlignment="center" /> | ||
</stacklayout> | ||
{/each} | ||
</stacklayout> |
Oops, something went wrong.