Skip to content

Instantly share code, notes, and snippets.

View sidiqpermana's full-sized avatar

Sidiq Permana sidiqpermana

View GitHub Profile
<?php
// API access key from Google API's Console
define( 'API_ACCESS_KEY', 'YOUR_FIREBASE_API_ACCESS_KEY' );
$registrationIds = array( $_GET['id'] ); //You may put on array >1 registrationIds
// prep the bundle
$msg = array
(
'body' => $_GET['body'],
'title' => $_GET['title'],
'sound' => 'granules', //this is the notification sound name
@sidiqpermana
sidiqpermana / gist:2bcb0730bb86e2d3f737e3c688737b51
Last active April 4, 2016 19:36
My Short Experience with The Awesome DexGuard
Hi, i would like to share my experience of using DexGuard (https://www.guardsquare.com/dexguard) as a premium obfuscator tool for Android APK. As we knew that apk is similar
to zip and rar. It only wraps our project and there are a lot of tools that able to decompile apk. Even when devs have set proguard to
the app they are still readable. This experience i got when i was training about android security, and i recommended the client to buy
the DexGuard Lisence. The most expensive computer file that i have ever seen. They spent more than $4000 for 66 Mb and it's only to
A SINGLE PACKAGE NAME !.
I give you the sample, this is the Java File :
public class HelloWorldActivity extends AppCompatActivity
{
private static final String MESSAGE = "Hello world!";