Skip to content

Instantly share code, notes, and snippets.

View mhmzdev's full-sized avatar
🎯
You look better when smile, Gimme a smile now!

Hamza mhmzdev

🎯
You look better when smile, Gimme a smile now!
View GitHub Profile
@mhmzdev
mhmzdev / app_store.md
Last active September 28, 2025 04:53
AppStore guides in bullet points along with example for better understanding before submission of apps, especially first time.

Apple App Review Guidelines — Key Points & Examples

Based on the “App Review Guidelines” at Apple Developer (developer.apple.com)

1. Safety

  • 1.1 Objectionable Content
    Apps must not include content that is insulting, defamatory, or overly sexual, or that encourages violence, etc.
    Example: An app showing explicit nudity or erotic acts will be rejected.
@mhmzdev
mhmzdev / playstore_guide.md
Created September 28, 2025 04:34
Google play store guide in bullet points along with example for better understanding before submisison of apps, especially first time.

Google Play Developer Policy Center – Key Guidelines (Summary with Examples)

This document summarizes the most important points from Google Play’s Developer Content Policy, along with simple examples for clarity.


1. Restricted Content

  • Policy: No sexually explicit, hate speech, graphic violence, or dangerous content.
  • Example: A meditation app must not show violent images in ads.
@mhmzdev
mhmzdev / store_guides.md
Last active September 28, 2025 04:52
Google/Apple store guides in bullet points along with example for better understanding before submission of apps, especially first time.

📱 App Store & Google Play – Master Submission Guidelines (with Examples)

This document combines Apple App Store Review Guidelines, Google Play Developer Policy, and additional hidden considerations into one master checklist with examples.


🍏 Apple App Store – Key Guidelines

🔒 Safety

  • Objectionable Content – No offensive, violent, or hateful content.
import 'package:flutter/material.dart';
class EntranceFader extends StatefulWidget {
final Widget child;
final Duration delay;
final Duration duration;
final Offset offset;
const EntranceFader({
Key key,
import 'package:al_quran/animations/entranceFader.dart';
import 'package:flutter/material.dart';
class Flare extends StatelessWidget {
final Offset offset;
final Color color;
final double top;
final double left;
final double right;
final double bottom;
import 'package:al_quran/animations/bottomAnimation.dart';
import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
class LoadingShimmer extends StatelessWidget {
final String text;
LoadingShimmer({this.text});
@override
Widget build(BuildContext context) {
double height = MediaQuery.of(context).size.height;
class SurahsList {
final List<Surah> surahs;
SurahsList({this.surahs});
factory SurahsList.fromJSON(Map<String, dynamic> json) {
Iterable surahlist = json['data']['surahs'];
List<Surah> surahsList = surahlist.map((i) => Surah.fromJSON(i)).toList();
return SurahsList(surahs: surahsList);
class SajdaList {
final List<SajdaAyat> sajdaAyahs;
SajdaList({this.sajdaAyahs});
factory SajdaList.fromJSON(Map<String, dynamic> json) {
Iterable allSajdas = json['data']['ayahs'];
List<SajdaAyat> sajdas =
allSajdas.map((e) => SajdaAyat.fromJSON(e)).toList();
return SajdaList(sajdaAyahs: sajdas);
class QuranAPI {
Future<SurahsList> getSurahList() async {
String url = "http://api.alquran.cloud/v1/quran/quran-uthmani";
final response = await http.get(url);
if (response.statusCode == 200) {
return SurahsList.fromJSON(json.decode(response.body));
} else {
print("Failed to load");
throw Exception("Failed to Load Post");
codeAutoRetrievalTimeout() {
return (String verificationID) {
_verificationId = verificationID;
};
}