Skip to content

Instantly share code, notes, and snippets.

View peterlazar1993's full-sized avatar

Peter Lazar peterlazar1993

  • Home
  • Munich, Germany
View GitHub Profile
@peterlazar1993
peterlazar1993 / app-release.md
Created March 15, 2023 13:03 — forked from hirbod/app-release.md
How to get your App through the App/Play store safely

How to Successfully Publish Your App on the App Store or Google Play

As someone who has released many apps starting in 2015 using frameworks such as Cordova and Ionic, and more recently using React Native and Expo, I have learned that the rules for publishing apps can change frequently and can sometimes be challenging to navigate. With that in mind, I want to provide a brief guide to help others navigate the process. While this guide may not cover every aspect of publishing an app, it does cover general tips and information that should be useful for anyone looking to release their app on the App Store or Google Play.

Metadata

Keywords, Description, Screenshots, App Name, Promo Videos

There are significant differences between Apple and Google when it comes to metadata. Apple is generally stricter than Google, so it is advisable to follow Apple's guidelines to ensure the best chances of success on both platforms. Here are some tips to keep in mind:

  1. Keep your screenshots and promo videos separat
@peterlazar1993
peterlazar1993 / node
Created January 22, 2023 17:21
script as alias for node to use node via nvm
#!/usr/bin/env sh
# Use the version of node specified in .nvmrc to run the supplied command
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm_rc_version > /dev/null 2> /dev/null
HAS_NVM_RC=$?
if [[ "$HAS_NVM_RC" == "0" ]] ; then
@peterlazar1993
peterlazar1993 / machine.js
Last active January 4, 2022 07:27
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions

Conventinal Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

ActivityThread E Service guichaguri.trackplayer.logic.services.PlayerService has leaked IntentReceiver guichaguri.trackplayer.metadata.components.NoisyReceiver@4eb4673 that was originally registered here. Are you missi
ng a call to unregisterReceiver()?
E android.app.IntentReceiverLeaked: Service guichaguri.trackplayer.logic.services.PlayerService has leaked IntentReceiver guichaguri.trackplayer.metadata.components.NoisyReceiver@4eb4673 that was origina
lly registered here. Are you missing a call to unregisterReceiver()?
E at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1333)
E at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1114)
E at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1405)
E at android.app.ContextImpl.registerReceiver(ContextImpl.java:1378)
@peterlazar1993
peterlazar1993 / layoutAnimationConfig.js
Created December 8, 2017 07:42
layoutAnimationConfig
export const configLayoutAnimation = () =>
Platform.OS === 'ios'
? LayoutAnimation.easeInEaseOut()
: LayoutAnimation.configureNext({
duration: 300,
create: {
type: LayoutAnimation.Types.easeInEaseOut,
property: LayoutAnimation.Properties.opacity,
},
update: { type: LayoutAnimation.Types.easeInEaseOut },
fastlane android beta
[16:07:47]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[16:07:50]: -------------------------------------------------
[16:07:50]: --- Step: Verifying required fastlane version ---
[16:07:50]: -------------------------------------------------
[16:07:50]: Your fastlane version 2.60.0 matches the minimum requirement of 2.59.0 ✅
[16:07:50]: ------------------------------
[16:07:50]: --- Step: default_platform ---
[16:07:50]: ------------------------------
[16:07:50]: Driving the lane 'android beta' 🚀
fastlane ios beta
[16:04:18]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[16:04:20]: -------------------------------------------------
[16:04:20]: --- Step: Verifying required fastlane version ---
[16:04:20]: -------------------------------------------------
[16:04:20]: Your fastlane version 2.60.0 matches the minimum requirement of 2.59.0 ✅
[16:04:20]: ------------------------------
[16:04:20]: --- Step: default_platform ---
[16:04:20]: ------------------------------
[16:04:20]: Driving the lane 'ios beta' 🚀
@peterlazar1993
peterlazar1993 / US headers
Created April 17, 2017 18:35
response headers from US instance
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 19:00:00 EST
Content-Disposition: attachment; filename="BBE%20Hydro%20Constructors%20LP-Keeyask-2017-04-05-15-36-49-293.zip"; filename*=UTF-8''BBE%20Hydro%20Constructors%20LP-Keeyask-2017-04-05-15-36-49-293.zip
Content-Type: application/octet-stream;
Date: Mon, 17 Apr 2017 18:33:55 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
@peterlazar1993
peterlazar1993 / apidev headers
Last active April 17, 2017 18:34
response headers from apidev instance
Date: Mon, 17 Apr 2017 18:27:56 GMT
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 10:00:00 GMT
Content-Disposition: attachment; filename="BBE%20Hydro%20Constructors%20LP-Keeyask-2017-04-05-15-36-49-293.zip"; filename*=UTF-8''BBE%20Hydro%20Constructors%20LP-Keeyask-2017-04-05-15-36-49-293.zip
Content-Type: application/octet-stream;
Set-Cookie: ASESSIONID=""; Path=/
Set-Cookie: ASDSESSIONID=""; Domain=.apidev.aconex.com; Path=/
Vary: Accept-Encoding,User-Agent