Giter Site home page Giter Site logo

megacool-sdk's Introduction

megacool-sdk's People

Contributors

thusoy avatar wbrawner avatar nicolajpetersen avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Mari Larsen avatar  avatar Pim de Witte avatar Nicolaj Broby Petersen avatar

megacool-sdk's Issues

Instagram support

why not add instagram support?

or option to convert gif to mp4 when it gets too large

Unity rotation 90 degrees when opening universal link

This is a bug that Unity has to fix. Temp. fix:

void Start(){
        // Check if the screen orientation is not landscape
        if (Screen.orientation == ScreenOrientation.Portrait || 
            Screen.orientation == ScreenOrientation.PortraitUpsideDown) {
            StartCoroutine (FixLandscape ());
        } else {
            // Nothing to worry about, call Megacool as normal
            StartMegacool ();
        }
    }
    IEnumerator FixLandscape(){
        // Turn the screen to landscape left to "reset" to the right size
        Screen.orientation = ScreenOrientation.LandscapeLeft;
        // Let the rotation happen
        yield return new WaitForSeconds(0.5f);
        // Go back to auto rotation to reset to the right orientation
        Screen.orientation = ScreenOrientation.AutoRotation;
        //Call Everything Megacool related
        StartMegacool();
    }

Huawei devices never call `didPossiblyCompleteShare`

Huawei has their own intent chooser which behaves a bit strangely, thus we're not able to tell the difference between whether the user selected a channel or not, thus on Huawei devices the share listener will always have the didDismissShare callback triggered no matter what the user actually did.

Pause feature

Start / Stop are standard gif camera methods that all the other gif packages provide - can you also include a pause feature

Sharing to whatsapp crashes whatsapp

Stacktrace:

Shutting down VM
FATAL EXCEPTION: main
Process: com.whatsapp, PID: 26469
java.lang.SecurityException: Permission Denial: reading co.megacool.megacool.MegacoolFileProvider uri content://co.megacool.spritybird2.megacool_file_provider/gifs/C21F969B5F03D33D43E04F8F136E7682/megacool.gif?caption=Customsharetext%20yo!%0Ahttps%3A%2F%2Fmgcl.co%2Fsprity2%3F_m%3DGFuJpp8eT7 from pid=26469, uid=10215 requires the provider be exported, or grantUriPermission()
at android.os.Parcel.readException(Parcel.java:1620)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:692)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1155)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:991)
at android.content.ContentResolver.openInputStream(ContentResolver.java:711)
at com.whatsapp.pe.<init>(GifUtils.java:86)
at com.whatsapp.pe.b(GifUtils.java:237)
at com.whatsapp.util.MediaFileUtils.f(MediaFileUtils.java:2280)
at com.whatsapp.util.MediaFileUtils.a(MediaFileUtils.java:557)
at com.whatsapp.ContactPicker.a(ContactPicker.java:1455)
at com.whatsapp.ContactPicker.a(ContactPicker.java:115)
at com.whatsapp.ContactPicker$6.a(ContactPicker.java:342)
at com.whatsapp.util.au.onClick(OnOneClickListener.java:15)
at android.view.View.performClick(View.java:5697)
at android.view.View$PerformClick.run(View.java:22526)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

No media found when sharing

I've integrated Megacool to our game to test it out on Android.

I'm able to share a message into Slack using StartRecording, StopRecording and Share, but unfortunately the shared page contains no GIF of the capture and looks pretty bland in result:

image

The log contains things like:

Thread MegacoolRecording: Skipping deletion of /data/user/0/xxx/files/Megacool/D41D8CD98F00B204E9800998ECF8427E due to missing state file
getRecordingScore called for recording not using the highlightoverflow strategy (was latest)
Thread MegacoolRecording: Failed to wait on semaphore, got 110: Connection timed out
Thread MegacoolRecording: Failed to get bytes from native frame capture

We are using Unity 2019.4.23f1, URP and I have disabled Vulkan.

Any ideas what could be wrong?

Increase conversion with original "Get is on GooglePlay" button

Hi guys!
Why is there pink button on the landing page? Did you try split testing and pink button performed better?
https://imgurhd.ru/i/3zxb_orig.png
Can we change it to original 'Get it on GooglePlay' button?
https://imgurhd.ru/i/3zxc_orig.png

In many countries people are afraid to download something from sources other than GooglePlay (because of frequent mobile one-click subscription scams)
Probably google's button could perform better.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.