logo
down
shadow

How to fix "activityStartTrigger: not whiteListed" on Unity android builds?


How to fix "activityStartTrigger: not whiteListed" on Unity android builds?

Content Index :

How to fix "activityStartTrigger: not whiteListed" on Unity android builds?
Tag : android , By : turret
Date : November 27 2020, 05:23 PM

like below fixes the issue Ok so...
After A LOT of troubleshooting, I finally found the reason of these crashes, and how to fix them.
Could not allocate memory: System out of memory!

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Android System WebView crashes Android apps! "Tombstones are disabled on JB MR2+ user builds"


Tag : android , By : Felix Almeida
Date : March 29 2020, 07:55 AM
wish helps you It turns out it was not Chrome but Android System WebView that caused the app to crash. Several other users on Google Play Store have left responses such as Crashes apps without any error.
EDIT:
MONO_DEBUG=explicit-null-checks

Android Studio says "Cannot resolve method" but the project builds correctly


Tag : android , By : mux
Date : March 29 2020, 07:55 AM
Any of those help Well, it turned out the project was using Lombok and those methods were auto-generated and Android Studio does not know how to how to handle them unless you install the Lombok plugin for Android Studio.

"Cardboard" doesn't show up as an option in Unity Android options after installing Google Cardboard Unity SDK


Tag : chash , By : Paul Schwarz
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , Go to File > Build Settings.
Select Android from the platform list.

android embedding unity: ways to initialize and call a SQLite java DB object from unity, which needs "Context"


Tag : android , By : IanM
Date : March 29 2020, 07:55 AM
I wish did fix the issue. I try to document relevant parts of my own solution, just in case that may help someone. Please if you see any problem in it, let me know (I'm only learning).
I didn't know that I could pass (inject) "Context" to the constractor of a java class that need it, from Unity side. I found it on this forum, thaks to the forum!
AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject activity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity");
AndroidJavaObject context = activity.Call<AndroidJavaObject>("getApplicationContext");
AndroidJavaObject jo = new AndroidJavaObject("com.my.package.MyDbHelper", context);
string word = jo.Call<string>("returnData");
tx.text = word;
public class MySQLiteOpenHelper extends SQLiteOpenHelper {
    // implement as documentation describes, link is provided bellow
}

// this is the class, addressed from Unity
public class MyDbHelper{
    String str = null;
    private SQLiteDatabase db;
    MySQLiteOpenHelper mySQLiteOpenHelper;

    public myDbHelper(Context context) {
            mySQLiteOpenHelper = new mySQLiteOpenHelper(context);
            db = mySQLiteOpenHelper.getWritableDatabase();
    }

    // this is the method that unity calls
    public String returnData(){
        return queryAndDisplayAll();
    }

    private String queryAndDisplayAll() {
            // using Cursor and db perform query and get the result, say, in a str, and return it, that is like:
            // Cursor cursor = db.query(DicSQLiteOpenHelper.TABLE_NAME,...
            // str = ...result from Curson...
            return (str == null ? "No result!" : str);
    }

Tag : android , By : tangsty
Date : March 29 2020, 07:55 AM
To fix the issue you can do Go to Firebase Console Click Authentication Menu > Sign-in method tab Scroll Down to Authorized domains Click "Add domain" button, add your domain (website domain with parameter) and click "Add"
Related Posts Related QUESTIONS :
  • register has type Long (High Half) but expected Long (Low Half)
  • Is it good idea to use Dispatcher.Main with delay( )?
  • WebView and Advanced View is Not loading partiucalr URL
  • How to show three dots at the end of text view
  • Is it possible to run macros within Android Studio project?
  • Adding a button with default appearance but changed background color
  • What is best way to show notification at a certain time in Android?
  • Jetifier not working when library uses android component and app uses androidx component
  • How can I write the contents of an image in a filesystem
  • Retrieve a list of images from the Database and display them using a ListView?
  • java.lang.SecurityException: my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION
  • Timer/hourglass wont stop
  • How can I make AndroidX the default library for new Android projects?
  • Is it okay to delete buildToolsVersion android studio because of a warning in the Asyncstorage library?
  • Can I call a class that doesn't have an activity withIntent?
  • Android TextView fontFamily not working when set via TextAppearance
  • Unable to find nearby places
  • Is there any way to launch my application right away without 'Ok Google"?
  • Places api set location biased based on current location
  • Layout Preview is not displaying layout when Material Design is added
  • How do I resolve this diamond problem in Kotlin?
  • How to update the custom value in a view model object
  • How to stop refreshing/re-creating activity when updating Firebase data using setValue?
  • Manifest Permissions vs App Setttings Permissions
  • NumberFormatException in Try-Catch while converting String to Int
  • How to pass observable fields through include tag?
  • Next button on Android keyboard not submitting form
  • Does Firestore support automatic functions for updates?
  • Why app crashing because of a missing dimension (for google maps) only when I apply changes?
  • How to make a grouping, ordering and sorting: Kotlin collection
  • how to use augmented reality to change the color of a qr code once it is detected using with arcore and ml kit firebase
  • how to resolve Firebase projects adding quota problem?
  • Why it Kotlin giving me the wrong Int value when converting from a String
  • How to add bottom navigation listeners to fragments
  • Why is scrollview hiding buttons behind other views?
  • Open Settings using Linking.sendIntent()
  • How do I access an unknown node in firebase while retrieving data?
  • Can't retrieve list of all users from firebase authetication
  • many activities with same content (adview, reward adview, functions...) how to avoid repeating code?
  • Popup doesn't hide when touch outside
  • proper way to handling images in Android? by using Firebase
  • Android: Button is faded gray when it should be transparent
  • Gradle DSL method not found: 'deleteAllActions()'
  • In Clean Architecture, must Repository is Android or Kotlin module?
  • Kotlin parse double from string
  • Inconsistency detected. Invalid view holder adapter positionViewHolder
  • In App Update API always returns 1 (UPDATE_NOT_AVAILABLE)
  • Event of ImageView when click
  • Basic precautions to prevent piracy?
  • What is the difference between 'center' and 'centerCrop' in the "ImageView"?
  • Unable to receive SIP calls when app is killed
  • Android emulator not processing http get request, but iOS simulator works fine
  • Android Problem with sharing temporary file
  • How to add Broadcast in Android?
  • How to hide 'Running in Chrome' toast on TWA application on Android devices?
  • How to Fix Error: Could not find method deleteAllActions() for arguments [] on task
  • Android Deep Linking not working with https
  • WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'
  • setSupportActionBar (androidx.appcompat.widget.Toolbar) in AppCompatActivity¬†cannot be applied
  • Manifest merger failed after adding Firebase core version 17.0.0
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com