Rybená Integration DocumentationRybená Integration Documentation
Intro
  • Conventional sites
  • Moodle
  • Wordpress
  • GTM
Rybená
  • Português
  • English
Intro
  • Conventional sites
  • Moodle
  • Wordpress
  • GTM
Rybená
  • Português
  • English
  • General

    • Installation
    • Available parameters
    • Plugin for PDF
  • API

    • Introduction
    • API Functions
  • Moodle

    • Introduction
    • Installation
    • Plugin for PDF
  • GTM

    • Introduction
    • Installation
  • WIX

    • Introduction
    • Installation
  • WordPress

    • Introduction
    • Installation
    • Customization
    • Plugin for PDF
  • Joomla

    • Instalation Joomla
    • PDF plugin
  • Aplicativos Mobile

    • Introduction
    • Integration
  • D2L

    • Instalation D2L

Integration

The integration flow between Rybená and applications is through the incorporation of a webview with facilitated commands to manipulate the application.

FUNCTIONING BY API

In integrations with applications, we understand that the way users interact with the system is quite diverse and dynamic, very different from the web scenario, where the user controls their actions through selections and clicks.

Therefore, we understand that the best way to deliver this integration is programmatically, so that each application tells Rybená when to translate and which text to translate. Thus, all API functions will be available in Rybená's webview.

Integration by embedding

In the integration by embedding, the source application incorporates the Rybená application within itself, that is, unlike the other solution, it is not necessary to open another application or have the Rybená application installed.

An example of how to implement this flow is:

  • Create a Webview object (Great availability of this type of component in various mobile languages)
  • Load the content https://repository.rybena.com.br/webview/index.html?token=ACCESS-TOKEN in the Webview
    • Replace the value ACCESS-TOKEN with your authentication token
  • Manipulate the size of Rybená
    RybenaApi.getInstance().setSize(300)
    
  • Open the Rybená player when convenient
    RybenaApi.getInstance().openPlayer()
    
  • Manipulate all available functionalities through the API Functions

Integration Example

We have an example of integrating Rybená into a mobile application using React Native and Expo. You can access the example repository here

Modificado em:
Prev
Introduction