·
Added a discussion

Before MSolutions was banished they had two modules that addressed solutions we are seeking. One was a grid feature you see on social media apps like Instagram and TikTok where the videos are in side by side columns. The other module integrated in the video the like (heart) button and counts and comment button and counts instead of them appearing below the video. Does anyone know if someone else has built similar modules and where I can find them

  • 95
·
Added a discussion

Hi everyone,

I wanted to bring to your attention that the following documentation page is not in English:

🔗 How to Work with Studio Apps

image_transcoder.php?o=sys_images_editor&h=2589&dpx=2&t=1741820186

  • 167
·
Added a discussion

Issue

Encountered a build error in my setup due to an incompatible type in MainActivity.java:

MainActivity.java:15: error: incompatible types: int cannot be converted to boolean SplashScreen.show

Solution

The issue was resolved by eliminating redundancies in the code. If anyone has alternative solutions, they are welcome to share.

Code Fix

Here’s my working implementation:

package com.una.android;


import android.os.Bundle;
import org.devio.rn.splashscreen.SplashScreen;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
import com.facebook.react.defaults.DefaultReactActivityDelegate;


public class MainActivity extends ReactActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // Show Splash Screen on start before calling super.onCreate()
        SplashScreen.show(this);
        super.onCreate(savedInstanceState);
    }


    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
    @Override
    protected String getMainComponentName() {
        return "una";
    }


    /**
     * Returns the instance of the {@link ReactActivityDelegate}. Here we use a utility
     * class {@link DefaultReactActivityDelegate} which allows you to easily enable Fabric and
     * Concurrent React (i.e. React 18) with two boolean flags.
     */
    @Override
    protected ReactActivityDelegate createReactActivityDelegate() {
        return new DefaultReactActivityDelegate(
            this,
            getMainComponentName(),
            // If you opted-in for the New Architecture, we enable the Fabric Renderer.
            DefaultNewArchitectureEntryPoint.getFabricEnabled(),
            // If you opted-in for the New Architecture, we enable Concurrent React (React 18).
            DefaultNewArchitectureEntryPoint.getConcurrentReactEnabled()
        );
    }
}


Additional Security Exception

Another issue encountered:

java.lang.SecurityException: com.una.android: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts.

Recommended Fix

Modify AndroidManifest.xml to explicitly define the receiver:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"  package="com.una.android">


    <uses-permission android:name="android.permission.INTERNET" />


    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:allowBackup="false"
      android:theme="@style/AppTheme">
      <receiver
        android:name="com.facebook.react.devsupport.DevSupportReceiver"
        android:exported="false" />
      <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        <intent-filter android:label="UNA.IO">
                <action android:name="android.intent.action.VIEW" />


                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />


                <data
                    android:scheme="https"
                    android:host="www.una.io" />
                <data
                    android:scheme="http"
                    android:host="www.una.io" />
        </intent-filter>
      </activity>
    </application>
</manifest>


Build & Run the App

To apply the changes, clean the build and restart:

cd android
./gradlew clean
cd ..
npx react-native run-android

Now it seems to work perfectly. More updates coming soon...

  • 471
  • 2
·
Added a discussion

I have the Analytics App installed, but do not see where this information is output to. It said on the Dashboard, but it does not appear there. It is installed and enabled.

  • 558
·
Added a discussion

I installed the upgrade to 14.0.0 - RC4. I noticed that it references a new module called Stories and it says complete. Where do we find this module...

  • 767
  • 😥 1
Reposted tamekariley's post.

I have had a few dashboards developed outside of UNACMS and would like to integrate them into the site. Looking for direction or advice on how to accomplish this.

  • 732
·
Added a discussion

I hope someone can help us with this:

Push notification doesn't work well. It sometimes send notifications, but other times, the push notifications all stuck in the Queue. (we tried this with both RC2 and RC3 versions) and all the same. Website and email notifications work well, but not the Push.

Cron job is tested and works well. All keys/APIs re checked OK. All setting or good.

Not sure what the issue, is!

image_transcoder.php?o=sys_images_editor&h=2587&dpx=2&t=1741612526

  • 880
  • 1076
·
Added a discussion

Something strange happened.

After updating i don't see the wheel to change my profile.

This is for each profile, what can be the problem?

Can someone help me?

image_transcoder.php?o=sys_images_editor&h=2585&dpx=1&t=1741477253

  • 1265